public IActionResult Get() { var cars = _carsContext.GetCars(); return(Ok(cars)); }
public IEnumerable <Car> Cheap() { Thread.Sleep(1000); return(_carsContext.GetCars(car => car.Price < 50000)); }