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)); }
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)); }