Пример #1
0
 public static Exercise Create(string name, PartOfBody partOfBody)
 => new Exercise(name, partOfBody);
Пример #2
0
 public Exercise(string name, PartOfBody partOfBody)
 {
     SetName(name);
     PartOfBodyId = partOfBody.Id;
 }