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