Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        public Repo EditRepo(string user, string password, string repo, RepoEdit editRepo)
        {
            IReposService reposService = ObjectFactory.GetInstance <IReposService>();

            return(reposService.Edit(user, password, repo, editRepo));
        }