コード例 #1
0
        public async Task <IActionResult> Update(DaysDto dayDto)
        {
            using (var logger = _loggerManager.CreateLogger())
            {
                await _dayService.UpdateAsync(dayDto);

                logger.LogInformation($"Day {dayDto.DayName} is updated successfully.");
                return(Ok());
            }
        }