public IActionResult GetDay(int id) { var day = _toDoListRepository.GetDay(id); var results = _autoMapperWrapper.Map <DayDto>(day); return(Ok(results)); }