Beispiel #1
0
        public async Task <PrintingEditionModel> GetSortedAsync(bool[] categorys) //add filter
        {
            var filteredModel   = new FilteredModel();
            var paginationModel = new PaginationModel();
            var responseModels  = await _printingEditionRepository.FilteredAsync(filteredModel, paginationModel);

            var printingEditionModel = _mapper.ResponseModelToModelItem(responseModels.ResponseModels);

            foreach (var item in printingEditionModel.Items)
            {
                // item.AuthorsName = d
            }
            return(printingEditionModel);
        }