public ContractorDetailsVM(Client client)
 {
     Model = client;
     Contacts = new ObservableCollection<Contact>(client.Contacts);
     BankAccounts = new ObservableCollection<BankAccount>(client.BankAccounts);
      //   Contacts.CollectionChanged += Contacts_CollectionChanged;
 }
 private void EditClient(Client client)
 {
     _navigationService.OpenView(RegionNames.DialogRegion, ViewNames.ContractorsListView, client);
 }