public async Task <ActionResult <ControllerResponse <List <GetTimerDto> > > > get() { string userId = _httpContextAccessor.HttpContext.User.FindFirstValue(ClaimTypes.NameIdentifier).ToString(); var timers = await _timerService.getByUserIdAsync(userId); return(Ok(new ControllerResponse <List <GetTimerDto> > { data = timers.Select(timer => _mapper.Map <GetTimerDto>(timer)).ToList() })); }