public VehiclesController(IVehiclesContext vehiclesContext) { _vehiclesContext = vehiclesContext ?? throw new ArgumentNullException(nameof(vehiclesContext)); }
public VehicleRepository(IVehiclesContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }