public string TrainAthletes(string gymName) { IGym gym = this.gyms.First(g => g.Name == gymName); gym.Exercise(); return(string.Format(OutputMessages.AthleteExercise, gym.Athletes.Count)); }
public string TrainAthletes(string gymName) { IGym gym = this.gyms.First(x => x.Name == gymName); gym.Exercise(); return(string.Format(AthleteExercise, gym.Athletes.Count)); }