Use new projects API

This commit is contained in:
Robert Marshall 2020-04-12 11:09:04 +01:00
parent 11bca4cf53
commit 8bf483b334
24 changed files with 141 additions and 222 deletions

View file

@ -1,14 +1,6 @@
using Website.Data.States.Git;
namespace Website.Models.Git {
namespace Website.Models.Git {
public class Branch {
public Branch(BranchState state) {
Name = state.name;
Commit = new Commit(state.commit);
}
public string Name { get; }
public Commit Commit { get; private set; }
public string Name { get; set; }
public Commit Commit { get; set; }
}
}
}