예제 #1
0
 public AdminController(TaxiServiceContext taxiServiceContext, List <NewOrder> newOrderStorage, ITimeRepository timeRepository, IDriversAndTimesRepository diversAndTimesRepository, IOrderRepository orderRepository, IClientsRepository clientsRepository, ILocationRepository locationRepository)
 {
     _appDbContext             = taxiServiceContext;
     _newOrderStorage          = newOrderStorage;
     _timeRepository           = timeRepository;
     _diversAndTimesRepository = diversAndTimesRepository;
     _orderRepository          = orderRepository;
     _clientsRepository        = clientsRepository;
     _locationRepository       = locationRepository;
 }
예제 #2
0
 private TaxiRepository()
 {
     _taxiServiceRepository = new TaxiServiceContext("TaxiConnectionString");
 }