private void NewBookPublisher_OnClick(object sender, RoutedEventArgs e) { var entity = UIShared.EditBookPublisher(this, Gdo, null, true); if (entity != null) { DataObject.BookPublisherId = entity.Id; } }
private void EditBookPublisher(bool isNew = false) { UIShared.EditBookPublisher(this, Gdo, BookPublisherDataGrid.SelectedItem, isNew); }
private void EditBookPublisher_OnClick(object sender, RoutedEventArgs e) { UIShared.EditBookPublisher(this, Gdo, BookPublisherComboBox.SelectedItem, false, false); }