public Response Handle(Request request)
        {
            var            typedRequest  = (GetAllIssuesRequest)request;
            IIssuesService issuesService = ObjectFactory.GetInstance <IIssuesService>();
            var            issuesResult  = issuesService.GetAll(typedRequest.User, typedRequest.Repo, typedRequest.Page);

            return(new GetAllIssuesResponse(issuesResult));
        }
Exemplo n.º 2
0
        public IList <Issue> GetAllIssues(string user, string repo, int page)
        {
            IIssuesService issuesService = ObjectFactory.GetInstance <IIssuesService>();

            return(issuesService.GetAll(user, repo, page));
        }