public void MakeCakeOfTheWeek(Cake cake) { cake.CakesOfTheWeek = true; _appDbContext.SaveChanges(); }
public void RemoveCake(Cake cake) { _appDbContext.Cakes.Remove(cake); _appDbContext.SaveChanges(); }