public GeoFenceService( IGeoFenceRepository repository, IGeoFenceUpdateRepository geoFenceUpdateRepository, INotificationService notificationService) : base(repository) { this.notificationService = notificationService; this.geoFenceUpdateRepository = geoFenceUpdateRepository; }
public ReportingService( ITripRepository tripRepository, ITrackingPointRepository trackingPointRepository, IGeoFenceUpdateRepository geoFenceUpdateRepository) { this.tripRepository = tripRepository.ThrowIfNull(nameof(tripRepository)); this.trackingPointRepository = trackingPointRepository.ThrowIfNull(nameof(trackingPointRepository)); this.geoFenceUpdateRepository = geoFenceUpdateRepository.ThrowIfNull(nameof(geoFenceUpdateRepository)); }