示例#1
0
 public RequestService(IPersistenceContext persistenceContext)
 {
     this.persistenceContext   = persistenceContext;
     this.requestRepository    = persistenceContext.RequestRepository;
     this.driverRepository     = persistenceContext.DriverRepository;
     this.dispatcherRepository = persistenceContext.DispatcherRepository;
 }
 public EmployeeServices(IPersistenceContext persistenceContext)
 {
     PersistenceContext   = persistenceContext;
     EmployeeRepository   = persistenceContext.EmployeeRepository;
     DriverRepository     = persistenceContext.DriverRepository;
     DispatcherRepository = persistenceContext.DispatcherRepository;
     SupervisorRepository = persistenceContext.SupervisorRepository;
 }
 public DispatcherService(IPersistenceContext persistenceContext)
 {
     PersistenceContext   = persistenceContext;
     DispatcherRepository = persistenceContext.DispatcherRepository;
     trailerRepository    = persistenceContext.TrailerRepository;
     driverRepository     = persistenceContext.DriverRepository;
     vehicleRepository    = persistenceContext.VehicleRepository;
     routeRepository      = persistenceContext.RouteRepository;
     requestRepository    = persistenceContext.RequestRepository;
 }
示例#4
0
 public DispatcherService(IDispatcherRepository repository, IIdentityUserService identityUserService, ICompanyService companyService)
     : base(repository, identityUserService, companyService)
 {
 }
 public DispatcherService(IDispatcherRepository dispatcherRepository, IUnitOfWork unitOfWork)
 {
     _dispatcherRepository = dispatcherRepository;
     _unitOfWork           = unitOfWork;
 }