public void Dispose() { if (RestaurantBookingRepository != null) { RestaurantBookingRepository.Dispose(); RestaurantBookingRepository = null; } }
public BookingViewingBLL() { MenuRepository = new MenuRepository(); RestaurantBookingRepository = new RestaurantBookingRepository(); AgencyRepository = new AgencyRepository(); CommissionRepository = new CommissionRepository(); ServiceOutsideRepository = new ServiceOutsideRepository(); GuideRepository = new GuideRepository(); AgencyContactRepository = new AgencyContactRepository(); ServiceOutsideDetailRepository = new ServiceOutsideDetailRepository(); }
public void Dispose() { if (RestaurantBookingRepository != null) { RestaurantBookingRepository.Dispose(); RestaurantBookingRepository = null; } if (PaymentHistoryRepository != null) { PaymentHistoryRepository.Dispose(); PaymentHistoryRepository = null; } }
public void Dispose() { if (MenuRepository != null) { MenuRepository.Dispose(); MenuRepository = null; } if (RestaurantBookingRepository != null) { RestaurantBookingRepository.Dispose(); RestaurantBookingRepository = null; } if (AgencyRepository != null) { AgencyRepository.Dispose(); AgencyRepository = null; } if (CommissionRepository != null) { CommissionRepository.Dispose(); CommissionRepository = null; } if (ServiceOutsideRepository != null) { ServiceOutsideRepository.Dispose(); ServiceOutsideRepository = null; } if (GuideRepository != null) { GuideRepository.Dispose(); GuideRepository = null; } if (AgencyContactRepository != null) { AgencyContactRepository.Dispose(); AgencyContactRepository = null; } if (ServiceOutsideDetailRepository != null) { ServiceOutsideDetailRepository.Dispose(); ServiceOutsideDetailRepository = null; } }
public void RestaurantBookingSaveOrUpdate(RestaurantBooking restaurantBooking) { RestaurantBookingRepository.SaveOrUpdate(restaurantBooking); }
public RestaurantBooking RestaurantBookingGetById(int restaurantBookingId) { return(RestaurantBookingRepository.GetById(restaurantBookingId)); }
public RestaurantBookingPaymentBLL() { RestaurantBookingRepository = new RestaurantBookingRepository(); PaymentHistoryRepository = new PaymentHistoryRepository(); }
public BookingAddingBLL() { RestaurantBookingRepository = new RestaurantBookingRepository(); AgencyRepository = new AgencyRepository(); }
public BookingsController(RestaurantBookingRepository viewModel) { Repository = viewModel; }
public ReceivablesBLL() { RestaurantBookingRepository = new RestaurantBookingRepository(); }
public RestaurantBookingByDateBLL() { RestaurantBookingRepository = new RestaurantBookingRepository(); }
public BookingManagementBLL() { RestaurantBookingRepository = new RestaurantBookingRepository(); }