public WorkBlockService(IWorkBlockRepository workBlockRepository, IUnitOfWork unitOfWork, ITripRepository tripRepository) { this._workBlockRepository = workBlockRepository; this._tripRepository = tripRepository; this._unitOfWork = unitOfWork; this._workBlockMapper = new WorkBlockMapper(); }
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(); }