public List <Car> CheckDate(DateTime startDate, DateTime endDate) { List <Car> cars = Rentals.CheckDate(startDate, endDate); return(cars); }
//Här börjar CarService-metoderna: public List <Car> GetAllCars(DateTime from, DateTime to) { var x = r.CheckDate(from, to); return(x); }