Beispiel #1
0
        public async Task <IActionResult> AdsBySubcategory(AdsBySubcategoryInputModel inputModel)
        {
            var adsBySubcategoryViewModel = await adService.GetAdsBySubcategoryViewModelAsync(inputModel.SubcategoryId, inputModel.CategoryId, inputModel.PageNumber ?? DefaultPageNumber, DefaultPageSize);

            return(View(adsBySubcategoryViewModel));
        }