public async Task <ActionResult <CookieBaking> > BakeCookieForMixing(CookieBaking cookieBaking) { var cookieBakingid = await _cookieBakingRepository.Add(cookieBaking); cookieBaking.IsMixed = true; await _cookieBakingRepository.Update(cookieBaking); return(CreatedAtAction("BakeCookieForMixing", new { id = cookieBakingid }, cookieBaking)); }