private void NewBookAuthor_OnClick(object sender, RoutedEventArgs e) { var entity = UIShared.EditBookAuthor(this, Gdo, null, true); if (entity != null) { DataObject.BookAuthorId = entity.Id; } }
private void EditBookAuthor(bool isNew = false) { UIShared.EditBookAuthor(this, Gdo, BookAuthorDataGrid.SelectedItem, isNew); }
private void EditBookAuthor_OnClick(object sender, RoutedEventArgs e) { UIShared.EditBookAuthor(this, Gdo, BookAuthorComboBox.SelectedItem, false, false); }