Esempio n. 1
0
 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));
        }
Esempio n. 3
0
        public ReadTestsQuery(long ownerId, OffsetPagination pagination)
        {
            OwnerId = ownerId;

            Pagination = pagination;
        }
Esempio n. 4
0
 public MainMenuViewModel()
 {
     _listData  = new ListModel();
     _paginator = new OffsetPagination();
 }