public IActionResult Put(int id, [FromBody] UpdateDailyMenuDto model) =>
 _mapper.Map <DailyMenuUpdateModel>(model)
 .Map(x => _commandRepo.Update(id, x))
 .Map(x => AllOk(new { updated = x }))
 .Reduce(_ => NotFound(), error => error is RecordNotFound, x => _logger.LogError(x.ToString()))
 .Reduce(_ => InternalServerError(), x => _logger.LogError(x.ToString()));