public void OnGet(string searchString, int pageIndex = 1) { ProductIndexVm = _productService.GetProductListVm1(SearchString, categoryGenre, pageIndex); CategoryIndexVm = _pro.GetCategoryListVm("", "", pageIndex); }
public void OnGet(string searchString, int pageIndex = 1) { CategoryIndexVM = _CategoryService.GetCategoryListVm(SearchString, CategoryGenre, pageIndex); }
public IActionResult OnGet() { CategoryIndexVM = _categoryService.GetCategoryListVm("", "", 1); return(Page()); }