Esempio n. 1
0
        public Response Handle(Request request)
        {
            var            typedRequest  = (EditIssueRequest)request;
            IIssuesService issuesService = ObjectFactory.GetInstance <IIssuesService>();
            var            issueResult   = issuesService.Edit(typedRequest.User, typedRequest.Password, typedRequest.Repo, typedRequest.Id, typedRequest.EditIssue);

            return(new IssueResponse(issueResult));
        }
Esempio n. 2
0
        public Issue EditIssue(string user, string password, string repo, int id, IssueEdit editIssue)
        {
            IIssuesService issuesService = ObjectFactory.GetInstance <IIssuesService>();

            return(issuesService.Edit(user, password, repo, id, editIssue));
        }