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