public ClientDetailViewModel(IClientRepository clientRepository,
                                     IEventAggregator eventAggregator, IMessageDialogService messageDialogService,
                                     ICompanyLookupDataService companyLookupDataService) : base(eventAggregator, messageDialogService)
        {
            _clientRepository         = clientRepository;
            _companyLookupDataService = companyLookupDataService;

            eventAggregator.GetEvent <AfterCollectionSavedEvent>()
            .Subscribe(AfterCollectionSavedAsync);

            AddPhoneNumberCommand    = new DelegateCommand(OnAddPhoneNumberExecute);
            RemovePhoneNumberCommand = new DelegateCommand(OnRemovePhoneNumberExecute, OnRemovePhoneNumberCanExecute);

            Companies    = new ObservableCollection <LookupItem>();
            PhoneNumbers = new ObservableCollection <ClientPhoneNumberWrapper>();
        }
 public CompaniesViewModel(IUnityContainer container, ICompanyLookupDataService companyLookupDataService) : base(container, companyLookupDataService)
 {
 }