protected override async Task <Domain.Models.UserPreference> GetData() { UserPreference pref = null; using (var db = new Repository(User)) { var nameToUse = UserNameToUse; pref = await db.GetUserPreferences(nameToUse); } return(pref.Map()); }