public async Task <ActionResult> DeleteIngredientAsync(AddIngredientToItemModel model) { MenuItemRepository rep = new MenuItemRepository(sqlConnection); await rep.DeleteIngredientToMenuItem(model); return(null); }
public async Task <ActionResult> DeleteIngredientAsync(AddIngredientToItemModel model) { MenuItemRepository rep = new MenuItemRepository(sqlConnection); await rep.DeleteIngredientToMenuItem(model); return(null); }