Beispiel #1
0
 public ServiceBase()
 {
     _stateRepository = new StateRepository();
     _regionRepository = new RegionRepository();
     _countryRepository = new CountryRepository();
     _clubRepository = new ClubRepository();
     _driverRepository = new DriverRepository();
     _locationRepository = new LocationRepository();
 }
Beispiel #2
0
        public ClubService()
        {
            _clubRepository = new ClubRepository();
            _driverRepository = new DriverRepository();
            _seriesRepository = new SeriesRepository();

            _resultService = new ResultService();
            _seriesService = new SeriesService();
        }
        public DriverService()
        {
            _driverRepository = new DriverRepository();

            _clubService = new ClubService();
        }