public Response Handle(Request request) { var typedRequest = (EditRepoRequest)request; IReposService reposService = ObjectFactory.GetInstance <IReposService>(); var repoResult = reposService.Edit(typedRequest.User, typedRequest.Password, typedRequest.Repo, typedRequest.EditRepo); return(new RepoResponse(repoResult)); }
public Repo EditRepo(string user, string password, string repo, RepoEdit editRepo) { IReposService reposService = ObjectFactory.GetInstance <IReposService>(); return(reposService.Edit(user, password, repo, editRepo)); }