public void UpdateItem(int material) { RawMaterialItem temp = _db.SearchRawMaterialItems(material); UpdateCurrentInventory(temp); UpdateCostPerUnit(temp); UpdateLandedCost(temp); _db.AddRawMaterial(temp); }