public ReadQuestionsQuery(long catalogId, OffsetPagination pagination) { CatalogId = catalogId; Pagination = pagination; }
public async Task <ActionResult <OffsetPagedResults <CatalogOnListDTO> > > ReadQuestionsCatalogs(long ownerId, [FromQuery] OffsetPagination pagination) { var result = await Send(new ReadCatalogsQuery(ownerId, pagination)); return(ActionResult(result)); }
public ReadTestsQuery(long ownerId, OffsetPagination pagination) { OwnerId = ownerId; Pagination = pagination; }
public MainMenuViewModel() { _listData = new ListModel(); _paginator = new OffsetPagination(); }