Esempio n. 1
0
 public static Exercise Create(string name, PartOfBody partOfBody)
 => new Exercise(name, partOfBody);
Esempio n. 2
0
 public Exercise(string name, PartOfBody partOfBody)
 {
     SetName(name);
     PartOfBodyId = partOfBody.Id;
 }