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

            _resultService = new ResultService();
            _seriesService = new SeriesService();
        }
Exemplo n.º 3
0
        public DriverService()
        {
            _driverRepository = new DriverRepository();

            _clubService = new ClubService();
        }