public void Remove(int hookId) { var repo = new Repo { BasePath = BasePath, HookId = hookId }; repo.Remove(); }
public void Create(string repoName, int hookId, string branch) { var repo = new Repo { BasePath = BasePath, RepoName = repoName, HookId = hookId, Branch = branch }; repo.Create(); }