public ActionResult Edit(int inventoryNumber) { var inventory = _inventoryProvider.GetInventoryByNumber(inventoryNumber); return(View(inventory)); }