//Author: Linhting public int Insert(BookingHalls bookingHalls) { try { BookingHsBO aBookingHsBO = new BookingHsBO(); aDatabaseDA.BookingHalls.Add(bookingHalls); aBookingHsBO.AutoChangeStatusBookingH(bookingHalls.IDBookingH); return aDatabaseDA.SaveChanges(); } catch (Exception ex) { throw new Exception("BookingHallsBO.Insert:" + ex.ToString()); } }