public async Task <byte[]> GetUserPhoto(int userId) { var photoContent = await userPhotoRepository.Get(userId, Session); return(photoContent?.Image); }