Exemplo n.º 1
0
 public ViewMeetingsBLL()
 {
     ActivityRepository      = new ActivityRepository();
     AgencyRepository        = new AgencyRepository();
     AgencyContactRepository = new AgencyContactRepository();
     CruiseRepository        = new CruiseRepository();
 }
 public void Dispose()
 {
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
 }
 public ViewActivitiesBLL()
 {
     UserRepository          = new UserRepository();
     ActivityRepository      = new ActivityRepository();
     AgencyContactRepository = new AgencyContactRepository();
     BookingRepository       = new BookingRepository();
     SeriesRepository        = new SeriesRepository();
     AgencyRepository        = new AgencyRepository();
 }
Exemplo n.º 4
0
 public DashBoardManagerBLL()
 {
     StoreProcedureRepository = new StoreProcedureRepository();
     CruiseRepository         = new CruiseRepository();
     BookingRepository        = new BookingRepository();
     AgencyRepository         = new AgencyRepository();
     AgencyContactRepository  = new AgencyContactRepository();
     ActivityRepository       = new ActivityRepository();
     UserRepository           = new UserRepository();
 }
 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();
 }
Exemplo n.º 6
0
 public AgencyViewBLL()
 {
     AgencyRepository         = new AgencyRepository();
     AgencyContractRepository = new AgencyContractRepository();
     ContractRepository       = new ContractRepository();
     QuotationRepository      = new QuotationRepository();
     AgencyContactRepository  = new AgencyContactRepository();
     CruiseRepository         = new CruiseRepository();
     ActivityRepository       = new ActivityRepository();
     AgencyNotesRepository    = new AgencyNotesRepository();
     RoleRepository           = new RoleRepository();
 }
Exemplo n.º 7
0
 public DashBoardBLL()
 {
     BookingRepository       = new BookingRepository();
     CruiseRepository        = new CruiseRepository();
     RoomClassRepository     = new RoomClassRepository();
     RoomTypeRepository      = new RoomTypeRepository();
     SailsModule             = SailsModule.GetInstance();
     ActivityRepository      = new ActivityRepository();
     AgencyRepository        = new AgencyRepository();
     AgencyContactRepository = new AgencyContactRepository();
     CustomerRepository      = new CustomerRepository();
     GoldenDayRepository     = new GoldenDayRepository();
 }
 public AddSeriesBookingsBLL()
 {
     AgencyRepository        = new AgencyRepository();
     AgencyContactRepository = new AgencyContactRepository();
     SeriesRepository        = new SeriesRepository();
     TripRepository          = new TripRepository();
     RoomClassRepository     = new RoomClassRepository();
     RoomTypeRepository      = new RoomTypeRepository();
     CruiseRepository        = new CruiseRepository();
     BookingRepository       = new BookingRepository();
     BookingRoomRepository   = new BookingRoomRepository();
     CustomerRepository      = new CustomerRepository();
 }
Exemplo n.º 9
0
 public void Dispose()
 {
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (RoomClassRepository != null)
     {
         RoomClassRepository.Dispose();
         RoomClassRepository = null;
     }
     if (RoomTypeRepository != null)
     {
         RoomTypeRepository.Dispose();
         RoomTypeRepository = null;
     }
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (CustomerRepository != null)
     {
         CustomerRepository.Dispose();
         CustomerRepository = null;
     }
     if (GoldenDayRepository != null)
     {
         GoldenDayRepository.Dispose();
         GoldenDayRepository = null;
     }
 }
Exemplo n.º 10
0
 public void Dispose()
 {
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContractRepository != null)
     {
         AgencyContractRepository.Dispose();
         AgencyContractRepository = null;
     }
     if (ContractRepository != null)
     {
         ContractRepository.Dispose();
         ContractRepository = null;
     }
     if (QuotationRepository != null)
     {
         QuotationRepository.Dispose();
         QuotationRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (AgencyNotesRepository != null)
     {
         AgencyNotesRepository.Dispose();
         AgencyNotesRepository = null;
     }
     if (RoleRepository != null)
     {
         RoleRepository.Dispose();
         RoleRepository = 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;
     }
 }
Exemplo n.º 12
0
        public void Dispose()
        {
            if (AgencyContactRepository != null)
            {
                AgencyContactRepository.Dispose();
                AgencyContactRepository = null;
            }

            if (BookingRepository != null)
            {
                BookingRepository.Dispose();
                BookingRepository = null;
            }

            if (UserRepository != null)
            {
                UserRepository.Dispose();
                UserRepository = null;
            }
        }
        public void Dispose()
        {
            if (UserRepository != null)
            {
                UserRepository.Dispose();
                UserRepository = null;
            }

            if (ActivityRepository != null)
            {
                ActivityRepository.Dispose();
                ActivityRepository = null;
            }

            if (AgencyContactRepository != null)
            {
                AgencyContactRepository.Dispose();
                AgencyContactRepository = null;
            }

            if (BookingRepository != null)
            {
                BookingRepository.Dispose();
                BookingRepository = null;
            }

            if (SeriesRepository != null)
            {
                SeriesRepository.Dispose();
                SeriesRepository = null;
            }

            if (AgencyRepository != null)
            {
                AgencyRepository.Dispose();
                AgencyRepository = null;
            }
        }
Exemplo n.º 14
0
 public void Dispose()
 {
     if (StoreProcedureRepository != null)
     {
         StoreProcedureRepository.Dispose();
         StoreProcedureRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (UserRepository != null)
     {
         UserRepository.Dispose();
         UserRepository = null;
     }
 }
Exemplo n.º 15
0
 public void Dispose()
 {
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
 }
Exemplo n.º 16
0
 public IList <AgencyContact> AgencyContactGetAllByBirthday()
 {
     return(AgencyContactRepository.AgencyContactGetAllByBirthday());
 }
Exemplo n.º 17
0
 public int AgencyContactBirthdayCount()
 {
     return(AgencyContactRepository.AgencyContactBirthdayCount());
 }
 public AgencyContactSendBirthdayEmailJobBLL()
 {
     AgencyContactRepository = new AgencyContactRepository();
 }
Exemplo n.º 19
0
 public SailsMasterBLL()
 {
     AgencyContactRepository = new AgencyContactRepository();
     BookingRepository       = new BookingRepository();
     UserRepository          = new UserRepository();
 }
        public void Dispose()
        {
            if (AgencyRepository != null)
            {
                AgencyRepository.Dispose();
                AgencyRepository = null;
            }

            if (AgencyContactRepository != null)
            {
                AgencyContactRepository.Dispose();
                AgencyContactRepository = null;
            }

            if (SeriesRepository != null)
            {
                SeriesRepository.Dispose();
                SeriesRepository = null;
            }

            if (TripRepository != null)
            {
                TripRepository.Dispose();
                TripRepository = null;
            }

            if (RoomClassRepository != null)
            {
                RoomClassRepository.Dispose();
                RoomClassRepository = null;
            }

            if (RoomTypeRepository != null)
            {
                RoomTypeRepository.Dispose();
                RoomTypeRepository = null;
            }

            if (CruiseRepository != null)
            {
                CruiseRepository.Dispose();
                CruiseRepository = null;
            }

            if (BookingRepository != null)
            {
                BookingRepository.Dispose();
                BookingRepository = null;
            }

            if (BookingRoomRepository != null)
            {
                BookingRoomRepository.Dispose();
                BookingRoomRepository = null;
            }

            if (CustomerRepository != null)
            {
                CustomerRepository.Dispose();
                CustomerRepository = null;
            }
        }
 public AgencyContact AgencyContactGetById(int bookerId)
 {
     return(AgencyContactRepository.AgencyContactGetById(bookerId));
 }
 public IList <AgencyContact> AgencyContactGetAllByAgency(int agencyId)
 {
     return(AgencyContactRepository.AgencyContactGetAllByAgency(agencyId));
 }
Exemplo n.º 23
0
 public IEnumerable <AgencyContact> AgencyContactGetByAgencyId(int agencyId)
 {
     return(AgencyContactRepository.AgencyContactGetAllByAgency(agencyId));
 }
Exemplo n.º 24
0
 public AgencyContact AgencyContactGetById(int agencyContactId)
 {
     return(AgencyContactRepository.AgencyContactGetById(agencyContactId));
 }