Ejemplo n.º 1
0
 public WorkBlockService(IWorkBlockRepository workBlockRepository, IUnitOfWork unitOfWork, ITripRepository tripRepository)
 {
     this._workBlockRepository = workBlockRepository;
     this._tripRepository      = tripRepository;
     this._unitOfWork          = unitOfWork;
     this._workBlockMapper     = new WorkBlockMapper();
 }
Ejemplo n.º 2
0
 public VehicleDutyService(IVehicleDutyRepository vehicleDutyRepo, ITripRepository tripRepository, IVehicleRepository vehicleRepository, IWorkBlockRepository workBlockRepository, IUnitOfWork unitOfWork)
 {
     this._vehicleDutyRepository = vehicleDutyRepo;
     this._tripRepository        = tripRepository;
     this._vehicleRepository     = vehicleRepository;
     this._workBlockRepository   = workBlockRepository;
     this._unitOfWork            = unitOfWork;
     this._vehicleDutyMapper     = new VehicleDutyMapper();
     this._workBlockMapper       = new WorkBlockMapper();
 }