public async Task <Day> GetDay(int id) { var userName = ((ClaimsIdentity)User.Identity).FindFirst(ClaimTypes.Name).Value; var response = await _SqlService.GetDayAsync(userName, id); return(response); }