示例#1
0
        private IEnumerable <DriverViewModel> PopulateDrivers()
        {
            var drivers = _athleteRepository.GetDrivers(50);

            return(drivers.Select(driver => new DriverViewModel(driver)));
        }