public void DeleteData(int id)
 {
     IngredientDataService.DeleteIngredient(id);
 }
 public void UpdateData(object data)
 {
     IngredientDataService.UpdateIngredient((Ingredient)data);
 }
 public void AddData(object data)
 {
     IngredientDataService.AddIngredient((Ingredient)data);
 }
 public object FetchData(int id)
 {
     return(IngredientDataService.GetIngredients(id).First());
 }
 public IEnumerable <object> FetchData()
 {
     return(IngredientDataService.GetIngredients());
 }