public VehicleTrackService(IVehicleTrackRepository vehicleTrackRepository, IRouteMatchingService routeMatchingService) { _vehicleTrackRepository = vehicleTrackRepository ?? throw new NullInjectedObjectException("VTS001", "Injected object is null", new ArgumentNullException(nameof(vehicleTrackRepository))); _routeMatchingService = routeMatchingService ?? throw new NullInjectedObjectException("VTS002", "Injected object is null", new ArgumentNullException(nameof(routeMatchingService))); }
public RouteMatchController(IPointsService pointService, IRouteMatchingService routeMatchingService) { PointService = pointService; RouteMatchingService = routeMatchingService; }
public RouteMatchingController(IRouteMatchingService routeMatchingService) { _routeMatchingService = routeMatchingService; }