// Constructor public RSEntryViewModel(IEventAggregator eventAggregator, IRegionManager regionManager, IPersonService personService, IClientService clientService, IRecordSearchService recordSearchService, IStaffService staffService, IApplicationCommands applicationCommands) : base(applicationCommands) { _ea = eventAggregator; _rm = regionManager; _rss = recordSearchService; _ps = personService; _cs = clientService; _ss = staffService; PeopleList = personService.CompletePeopleList; ClientList = clientService.CompleteClientList; StaffList = staffService.CompleteStaffList; StaffList.Insert(0, new Staff()); regionManager.RegisterViewWithRegion("RequestorAddress", typeof(AddressEntry)); regionManager.RegisterViewWithRegion("BillingAddress", typeof(AddressEntry)); regionManager.RegisterViewWithRegion("CalculatorRegion", typeof(Calculator)); ChangeFileNumCommand = new DelegateCommand(ChangeFileNum); NavigateCommand = new DelegateCommand <string>(Navigate); GoBackCommand = new DelegateCommand(GoBack); CountySelectPopupCommand = new DelegateCommand(RaiseCountySelectPopup); CopyRequestorCommand = new DelegateCommand <string>(CopyRequestor); CopyClientCommand = new DelegateCommand <string>(CopyAffiliation); ChangeFileNumRequest = new InteractionRequest <IChangeICFileNumberNotification>(); CountySelectRequest = new InteractionRequest <IAdditionalCountyNotification>(); DeleteConfirmationRequest = new InteractionRequest <IConfirmation>(); eventAggregator.GetEvent <AdditionalCountySelectionEvent>().Subscribe(ChangeAdditionalCounties); }