Esempio n. 1
0
 public static void InsertRoomsBooked(checkout checkoutdetails)
 {
     using (HotelBookingsEntities db = new HotelBookingsEntities())
     {
         db.checkouts.Add(checkoutdetails);
         db.SaveChanges();
     }
 }
 public static void InsertCheckoutBooks(checkout checkoutdetails)
 {
     using (EntityEntities db = new EntityEntities())
     {
         db.checkouts.Add(checkoutdetails);
         db.SaveChanges();
     }
 }