public ReportLogic(ITouristSpotLogic touristSpotLogic, IAccommodationLogic accommodationLogic, IReservationLogic reservationLogic) { this.touristSpotLogic = touristSpotLogic; this.accommodationLogic = accommodationLogic; this.reservationLogic = reservationLogic; }
public DetailViewModel(ref MainViewModel parent, Movie selectedMovie, IScheduleLogic scheduleLogic, IReservationLogic reservationLogic, ISeatLogic seatLogic) { this.parent = parent; SelectedMovie = selectedMovie; this.scheduleLogic = scheduleLogic; this.reservationLogic = reservationLogic; this.seatLogic = seatLogic; ReservationCommand = new AsyncDelegateCommand(SwitchToContactView, CanExecute); _ = InitializeAsync(); }
public PaymentViewModel(ref MainViewModel parent, Schedule selectedSchedule, IList <SelectionViewModel <TakenSeatViewModel> > selectedSeats, IPaymentLogic paymentLogic, IReservationLogic reservationLogic) { this.parent = parent; this.selectedSeats = selectedSeats; this.paymentLogic = paymentLogic; this.reservationLogic = reservationLogic; this.selectedSchedule = selectedSchedule; this.PaymentInProgress = false; PayCommand = new AsyncDelegateCommand(ExecuteAsync, CanExecute); _ = InitializeAsync(); }
public ReservationController(IReservationLogic reservationLogic) { this.reservationLogic = reservationLogic; }