Пример #1
0
        public string TrainAthletes(string gymName)
        {
            IGym gym = this.gyms.First(g => g.Name == gymName);

            gym.Exercise();
            return(string.Format(OutputMessages.AthleteExercise, gym.Athletes.Count));
        }
Пример #2
0
        public string TrainAthletes(string gymName)
        {
            IGym gym = this.gyms.First(x => x.Name == gymName);

            gym.Exercise();

            return(string.Format(AthleteExercise, gym.Athletes.Count));
        }