public UpdatePrisonerViewModel(IEventAggregator eventAggregator, IPrisonerEndpoint prisonerEndpoint, ICellEndpoint cellEndpoint) { _eventAggregator = eventAggregator; _eventAggregator.Subscribe(this); _prisonerEndpoint = prisonerEndpoint; _cellEndpoint = cellEndpoint; }
public AddPrisonerViewModel(IEventAggregator eventAggregator, IPrisonerEndpoint prisonerEndpoint, ICellEndpoint cellEndpoint) { _eventAggregator = eventAggregator; _prisonerEndpoint = prisonerEndpoint; _cellEndpoint = cellEndpoint; }
public PrisonerViewModel(IPrisonerEndpoint prisonerEndpoint, IEventAggregator eventAggregator) { _prisonerEndpoint = prisonerEndpoint; _eventAggregator = eventAggregator; _eventAggregator.Subscribe(this); }