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 SeatController(ISeatLogic seatLogic) { _seatLogic = seatLogic; }