public List <Rooms> GetHotel() { RoomsBLL bll = new RoomsBLL(); bll.Show(); return(bll.Show()); }
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; }
/* 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(); }