public CarCompareRepository(CarCompareContext Contexts) { _CarCompareContext = Contexts ?? throw new ArgumentNullException(nameof(Contexts)); }
public CarsController(CarCompareContext context) { _context = context; }