Пример #1
0
 public ServiceBase()
 {
     _stateRepository = new StateRepository();
     _regionRepository = new RegionRepository();
     _countryRepository = new CountryRepository();
     _clubRepository = new ClubRepository();
     _driverRepository = new DriverRepository();
     _locationRepository = new LocationRepository();
 }
Пример #2
0
 public EventService()
 {
     _eventRepository = new EventRepository();
     _clubRepository = new ClubRepository();
     _locationRepository = new LocationRepository();
 }
Пример #3
0
 public LocationService()
 {
     _locationRepository = new LocationRepository();
     _clubRepository = new ClubRepository();
 }