public Athlete SetupFakeAthlete(string username, string password, TrainingPeaksAthleteAccountTypes accountType) { var athlete = new Athlete { TPData = new TrainingPeaksAthleteData { LoginName = username, LoginPassword = password, AccountType = accountType } }; return(athlete); }
public static AthleteAccountTypes AccountTypeMapping(TrainingPeaksAthleteAccountTypes accountType) => (AthleteAccountTypes)accountType;
public Athlete SetupFakeAthlete(string username, string password, TrainingPeaksAthleteAccountTypes accountType) { var athlete = new Athlete { TPData = new TrainingPeaksAthleteData { LoginName = username, LoginPassword = password, AccountType = accountType } }; return athlete; }