public DetailsOfThePrisonerViewModel(IEventAggregator eventAggregator, IPassEndpoint passEndpoint, IPunishmentEndpoint punishmentEndpoint,
                                      IReasonEndpoint reasonEndpoint, IIsolationEndpoint isolationEndpoint)
 {
     _eventAggregator = eventAggregator;
     _eventAggregator.Subscribe(this);
     _passEndpoint       = passEndpoint;
     _punishmentEndpoint = punishmentEndpoint;
     _reasonEndpoint     = reasonEndpoint;
     _isolationEndpoint  = isolationEndpoint;
 }
 public UpdatePassViewModel(IEventAggregator eventAggregator, IPassEndpoint passEndpoint)
 {
     _eventAggregator = eventAggregator;
     _eventAggregator.Subscribe(this);
     _passEndpoint = passEndpoint;
 }