Get the latest commit and show it on the home page

This commit is contained in:
Robert Marshall 2020-04-05 07:42:22 +01:00
parent ffb3e791ab
commit 5d67e92245
23 changed files with 233 additions and 60 deletions

View file

@ -0,0 +1,13 @@
using Website.Data.States.Git;
namespace Website.Models.Git {
public class Repository {
public Repository(RepositoryState state) {
Name = state.name;
Url = state.html_url;
}
public string Name { get; set; }
public string Url { get; set; }
}
}