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