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; }
private TaxiRepository() { _taxiServiceRepository = new TaxiServiceContext("TaxiConnectionString"); }