Esempio n. 1
0
 public void OnGet(SearchProductVM search)
 {
     Categories = new SelectList(_categoryApplication.GetCategoriesForSearchInProduct(), "Id", "Name");
     Products   = _productApplication.GetAllForAdmin(search);
 }
Esempio n. 2
0
 public IEnumerable <AdminProductVM> GetAllForAdmin(SearchProductVM search) => _productRepository.GetAllProductForAdmin(search);