示例#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();
 }
 public LocationService()
 {
     _locationRepository = new LocationRepository();
     _clubRepository = new ClubRepository();
 }