Esempio n. 1
0
 public static AthleteExercise Create(Athlete athlete, Exercise exercise, double weight,
                                      int numberOfSets, int numberOfReps, Day day)
 => new AthleteExercise(athlete, exercise, weight, numberOfSets, numberOfReps, day);
Esempio n. 2
0
 public static AthleteProduct Create(Athlete athlete, Product product, double weight)
 => new AthleteProduct(athlete, product, weight);
Esempio n. 3
0
 public static AthleteDietStats Create(Athlete athlete, DietStat dietStat) =>
 new AthleteDietStats(athlete, dietStat);
Esempio n. 4
0
 public AthleteProduct(Athlete athlete, Product product, double weight)
 {
     Athlete = athlete;
     Product = product;
     SetWeight(weight);
 }
Esempio n. 5
0
 public AthleteDietStats(Athlete athlete, DietStat dietStat)
 {
     Athlete  = athlete;
     DietStat = dietStat;
 }