Ejemplo n.º 1
0
        public List <Rooms> GetHotel()
        {
            RoomsBLL bll = new RoomsBLL();

            bll.Show();
            return(bll.Show());
        }
Ejemplo n.º 2
0
        public ReservationActions(ReservationVM vm,
                                  RoomsBLL roomBLL,
                                  FeaturesBLL featureBLL,
                                  ExtraServicesBLL extraServicesBLL,
                                  DiscountBLL discountBLL)
        {
            viewModel = vm;

            this.roomBLL          = roomBLL;
            this.featureBLL       = featureBLL;
            this.extraServicesBLL = extraServicesBLL;
            this.discountBLL      = discountBLL;
        }
Ejemplo n.º 3
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();
        }