예제 #1
0
        public async Task <IActionResult> GetByProjectId(Guid id, int currentPage, int pageCount)
        {
            var model = new SprintListPagination
            {
                ProjectId   = id,
                CurrentPage = currentPage,
                PageCount   = pageCount
            };

            return(Ok(await _mediator.Send(new GetSprintsByProjectQuery(model))));
        }
 public GetSprintsByProjectQuery(SprintListPagination model)
 {
     Model = model;
 }