public async static ETTask <List <AuthenticationType> > GetAllLinkType(long uid) { List <AuthenticationType> linkTypes = new List <AuthenticationType>(); var thirdPartyUsers = await UserDataHelper.FindAllThirdPartyUser(uid); for (int i = 0; i < thirdPartyUsers?.Count; i++) { linkTypes.Add(PartyToAuthenticationType(thirdPartyUsers[i].party)); } return(linkTypes); }