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;
        }
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();
        }
Example #3
0
 /* Properties */
 public CreateFeatureVM()
 {
     featuresBLL = new FeaturesBLL();
 }
Example #4
0
 /* Properties */
 public UpdateFeatureVM()
 {
     featuresBLL = new FeaturesBLL();
 }