protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); using (var context = new ClientsContext()) { context.UpdateClient(_client); } }