public async Task <PortfolioStrategy> GetUserSettingsAsync(object userId) { var item = await GetSettingsById(userId); if (item == null) { return(null); } return(UserModelFactory.CreateUserSettingsFromAWS(item)); }
public async Task <PortfolioStrategy> GetUserSettingsByUserNameAsync(string email) { return(UserModelFactory.CreateUserSettingsFromAWS(await GetSettingsByEmailAsync(email))); }