public void Update(Direction direction)
 {
     _db.Entry(direction).State = EntityState.Modified;
 }
Exemple #2
0
 public void Update(Ingredient ingredient)
 {
     _db.Entry(ingredient).State = EntityState.Modified;
 }
 public void Update(CustomIngredient customIngredient)
 {
     _db.Entry(customIngredient).State = EntityState.Modified;
     _db.SaveChanges();
 }
Exemple #4
0
 public void Update(IngredientCategory ingredientCategory)
 {
     _db.Entry(ingredientCategory).State = EntityState.Modified;
 }
Exemple #5
0
 public void Update(Recipe recipe)
 {
     _db.Entry(recipe).State = EntityState.Modified;
 }
Exemple #6
0
 public void Update(RecipeIngredient recipeIngredient)
 {
     _db.Entry(recipeIngredient).State = EntityState.Modified;
 }