public IActionResult Store() { List <Item> listOfItem = _ItemService.GetAll(); List <Brand> listOfBrand = _BrandService.GetAllBrands(); List <ItemType> listOfItemType = _ItemTypeService.GetAllItemType(); List <ItemMainType> listOfItemMainType = _ItemMainTypeService.GetAllMainType(); ItemsWithBrandAndType itemsWithBrandAndType = new ItemsWithBrandAndType(listOfItem, listOfBrand, listOfItemType, listOfItemMainType); return(View(itemsWithBrandAndType)); }