Get git projects from Gogs
This commit is contained in:
parent
9fd9beb860
commit
292d7729f2
9 changed files with 122 additions and 10 deletions
13
Website/Models/GitRepository.cs
Normal file
13
Website/Models/GitRepository.cs
Normal 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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue