public async Task <UserInfoViewModel> GetUserInfo(long id) { Citizen user = _citizenRepo.GetAllAsIQueryable() .FirstOrDefault(c => c.Id == id); UserInfoViewModel userInfo = _mapper.Map <UserInfoViewModel>(user); Uri uri = await _blobService.GetPhotoAsync(id.ToString()); userInfo.Uri = (await _blobService.GetPhotoAsync(id.ToString())).AbsoluteUri; return(userInfo); }