public async Task RemoveRecipeTag(int id) { var recipeTag = new RecipeTag() { Id = id }; _recipeDb.Attach(recipeTag); _recipeDb.Remove(recipeTag); await _recipeDb.SaveChangesAsync(); }
public async Task RemoveRecipeTag(int id) { var recipeTag = new RecipeTag() { Id = id }; _recipeDb.Attach(recipeTag); _recipeDb.Remove(recipeTag); await _recipeDb.SaveChangesAsync(); }