public void UpdateCar(Car car) { if (ValidateCar(car)) { CarDAL carDAL = new CarDAL(); carDAL.InsertCar(car); } }
public List <Car> SelectCars() { CarDAL carDAL = new CarDAL(); return(carDAL.SelectCars()); }