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 UpdatePunishmentViewModel(IEventAggregator eventAggregator, IReasonEndpoint reasonEndpoint, IPunishmentEndpoint punishmentEndpoint)
 {
     _eventAggregator    = eventAggregator;
     _reasonEndpoint     = reasonEndpoint;
     _punishmentEndpoint = punishmentEndpoint;
 }