website/Website/Data/IGitApi.cs

11 lines
No EOL
357 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Website.Models.Git;
namespace Website.Data {
public interface IGitApi {
Task<IEnumerable<Repository>> GetRepositories(string user);
Task<IEnumerable<Branch>> GetBranches(string user, string repository);
Task<Commit> GetCommit(string user, string repository, string hash);
}
}