Exemplo n.º 1
0
        public static void AddCars()
        {
            ReservationManager RM = new ReservationManager(new UnitOfWork(new ReservationContext("Reservation")));

            RM.DeleteAllCars();
            List <Car> cars = ReadCars();

            foreach (Car c in cars)
            {
                RM.AddCar(c);
            }
        }