Example #1
0
        /* Constructor */
        public RoomsBLL()
        {
            roomsDAL    = new RoomsDAL();
            imagesDAL   = new ImagesDAL();
            featuresDAL = new FeaturesDAL();

            RoomList = roomsDAL.GetRooms();
        }
Example #2
0
        /* Constructor */
        public AdminActions(AdminVM adminVM,
                            RoomsBLL roomBLL,
                            FeaturesBLL featureBLL,
                            ExtraServicesBLL extraServicesBLL,
                            DiscountBLL discountBLL)
        {
            viewModel = adminVM;

            this.roomBLL          = roomBLL;
            this.featureBLL       = featureBLL;
            this.extraServicesBLL = extraServicesBLL;
            this.discountBLL      = discountBLL;

            roomsDAL     = new RoomsDAL();
            ImageManager = new ImageManager();
        }