Get git projects from Gogs

This commit is contained in:
Robert Marshall 2020-01-03 17:19:50 +00:00
parent 9fd9beb860
commit 292d7729f2
9 changed files with 122 additions and 10 deletions

View file

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