예제 #1
0
        public IActionResult Search()
        {
            ViewData["ResultsPerPage"] = _selectListService.ResultsPerPage();

            var presentation = new ConsumptionEventSearchModel();

            return(View(presentation));
        }
예제 #2
0
        public IActionResult Search()
        {
            ViewBag.ResultsPerPage   = _selectListService.ResultsPerPage();
            ViewBag.Categories       = _selectListService.CategoriesAll();
            ViewBag.StorageLocations = _selectListService.StorageLocationsAll();

            var presentation = new ItemSearchModel();

            return(View(presentation));
        }