public IActionResult Search() { ViewData["ResultsPerPage"] = _selectListService.ResultsPerPage(); var presentation = new ConsumptionEventSearchModel(); return(View(presentation)); }
public IActionResult Search() { ViewBag.ResultsPerPage = _selectListService.ResultsPerPage(); ViewBag.Categories = _selectListService.CategoriesAll(); ViewBag.StorageLocations = _selectListService.StorageLocationsAll(); var presentation = new ItemSearchModel(); return(View(presentation)); }