internal Exercise( string name, string description, string instruction, Complexity complexity, Muscle muscle) { this.Validate(name, description, instruction); this.ValidateMuscle(muscle); this.Name = name; this.Description = description; this.Instruction = instruction; this.Muscle = muscle; this.Complexity = complexity; }
public Exercise ChangeComplexity(Complexity complexity) { this.Complexity = complexity; return(this); }