public async Task <UserProfile> GetUserProfileAsync(object userId)
        {
            var item = await GetProfileById(userId);

            if (item == null)
            {
                return(null);
            }

            return(UserModelFactory.CreateUserProfileFromAWS(item));
        }
 public async Task <UserProfile> GetUserProfileByUserNameAsync(string email)
 {
     return(UserModelFactory.CreateUserProfileFromAWS(await GetProfileByEmailAsync(email)));
 }