public void DeleteSushiItem(string sushiName) { SushiItem sushi = context.Menu.Find(sushiName); context.Menu.Remove(sushi); }
public void UpdateSushiItem(SushiItem item) { context.Entry(item).State = EntityState.Modified; }
public void InsertSushiItem(SushiItem sushiName) { context.Menu.Add(sushiName); }