public TripController( ITripDetectorFactory tripFactory, IAssetService assetService, ITripService tripService, ITrackingPointService pointService, ILoggerFactory loggerFactory, IPipeline pipeline) : base(loggerFactory) { this.pipeline = pipeline.ThrowIfNull(nameof(pipeline)); this.tripFactory = tripFactory.ThrowIfNull(nameof(tripFactory)); this.assetService = assetService.ThrowIfNull(nameof(assetService)); this.pointService = pointService.ThrowIfNull(nameof(pointService)); this.tripService = tripService.ThrowIfNull(nameof(tripService)); }
public TripController( ITripDetectorFactory tripFactory, IAssetService assetService, ITrackingPointService pointService, ILoggerFactory loggerFactory, IPipeline pipeline, IMapper dtoMapper) : base(loggerFactory) { this.pipeline = pipeline; this.tripFactory = tripFactory; this.assetService = assetService; this.pointService = pointService; this.dtoMapper = dtoMapper; }