Beispiel #1
0
 public BaseReference()
 {
     _businessAccess                            = new BusinessAccessLayer.GetListValues();
     _businessUser                              = new BusinessAccessLayer.AdminUserBAL();
     _businessCountry                           = new BusinessAccessLayer.Admin.Country();
     _businessMasterState                       = new BusinessAccessLayer.Admin.MasterState();
     _businessMasterCity                        = new BusinessAccessLayer.Admin.MasterCity();
     _businessMasterCategory                    = new BusinessAccessLayer.Admin.MasterCategory();
     _businessAttractions                       = new BusinessAccessLayer.Admin.Attractions();
     _businessAttractionsActiveStatus           = new BusinessAccessLayer.Admin.AttractionsActiveStatus();
     _businessMasterWeek                        = new BusinessAccessLayer.Admin.MasterWeek();
     _businessAttractionTravelTimeDistance      = new BusinessAccessLayer.Admin.AttractionTravelTimeDistance();
     _businessMissingDistanceAttractionsRecords = new BusinessAccessLayer.Admin.BalMissingDistanceAttractionsRecords();
     _businessSchedulers                        = new BusinessAccessLayer.Scheduler.BALScheduler();
     _businessUserBAL                           = new BusinessAccessLayer.Users.UsersBAL();
 }
Beispiel #2
0
        public BaseBusinessClass()
        {
            _dataAccess                                  = new DataAccessLayer.GetListValues();
            _dataAccessAdminUser                         = new DataAccessLayer.AdminUserDAL();
            _dataAccessCountry                           = new DataAccessLayer.Admin.Country();
            _dataAccessMasterState                       = new DataAccessLayer.Admin.MasterState();
            _dataAccessMasterCity                        = new DataAccessLayer.Admin.MasterCity();
            _dataAccessMasterCategory                    = new DataAccessLayer.Admin.MasterCategory();
            _dataAccessAttractions                       = new DataAccessLayer.Common.Attractions();
            _dataAccessAttractionsActiveStatus           = new DataAccessLayer.Admin.AttractionsActiveStatus();
            _dataAccessMasterWeek                        = new DataAccessLayer.Admin.MasterWeek();
            _dataAccessAttractionTravelTimeDistance      = new DataAccessLayer.Admin.AttractionTravelTimeDistance();
            _dataAccessMissingDistanceAttractionsRecords = new DataAccessLayer.Admin.DalMissingDistanceAttractionsRecords();
            _dataAccessSchedulers                        = new DataAccessLayer.Schedulers.DALSchedulers();
            _dataAccessUsers                             = new DataAccessLayer.User.UserDAL();


            //IUnityContainer container = GetUnityContainer();
            //DependencyResolver.SetResolver(new UnityDependencyResolver(container));
        }
Beispiel #3
0
 public OpenTimeController(IGetListValues getListValues, IAttractionsActiveStatus attractionsActiveStatus, IMasterWeek masterWeek)
 {
     _IGetListValues           = getListValues;
     _IAttractionsActiveStatus = attractionsActiveStatus;
     _IMasterWeek = masterWeek;
 }