public AnalyticsController(IDriverRepository driverRepository
            , IVehicleRepository vehicleRepository, ICarrierRepository carrierRepository, IRidesRepository ridesRepository)
        {
            _driverRepository = driverRepository;

            _vehicleRepository = vehicleRepository;
            _carrierRepository = carrierRepository;
            _ridesRepository = ridesRepository;
        }
 public AnalyticsController(MyShuttleSecurityContext securityContext, IDriverRepository driverRepository
     , IVehicleRepository vehicleRepository, ICarrierRepository carrierRepository, IRidesRepository ridesRepository)
 {
     _driverRepository = driverRepository;
     _securityContext = securityContext;
     _vehicleRepository = vehicleRepository;
     _carrierRepository = carrierRepository;
     _ridesRepository = ridesRepository;
 }
示例#3
0
 public RidesController(MyShuttleSecurityContext securityContext, IRidesRepository ridesRepository)
 {
     _securityContext = securityContext;
     _ridesRepository = ridesRepository;
 }