public async Task <ApiPagedListOutput <PageModel> > GetListAsync([FromQuery] ApiListQueryModel model)
        {
            var list = await _pageService.GetPagesPagedListAsync(new ListBasicQueryInput()
            {
                SearchTerm = model.SearchTerm,
                Limit      = model.Limit,
                Skip       = model.Skip
            });

            return(new ApiPagedListOutput <PageModel>(list.TotalCount, list.Select(t => _pageFactory.ToModel(t, new PageModel())).ToList()));
        }
        public async Task <ApiPagedListOutput <Setting> > GetListAsync([FromQuery] ApiListQueryModel model)
        {
            var list = await _settingService.GetPagedListAsync(new ListBasicQueryInput()
            {
                SearchTerm = model.SearchTerm,
                Limit      = model.Limit,
                Skip       = model.Skip,
            });

            return(new ApiPagedListOutput <Setting>(list));
        }