public IActionResult Supplies(int id) { if (Models.Assets.StoreSession == false) { return(Redirect("~/Home/Signin")); } var InventoryInfo = new InventoryModel(); InventoryInfo.inventory = _PBrepository.GetInventoryByStore(id); InventoryInfo.store = _PBrepository.GetStoreById(id); return(View(InventoryInfo)); }