private void NewBookCategory_OnClick(object sender, RoutedEventArgs e) { var entity = UIShared.EditBookCategory(this, Gdo, null, true); if (entity != null) { DataObject.BookCategoryId = entity.Id; } }
private void EditBookCategory(bool isNew = false) { UIShared.EditBookCategory(this, Gdo, BookCategoryDataGrid.SelectedItem, isNew); }
private void EditBookCategory_OnClick(object sender, RoutedEventArgs e) { UIShared.EditBookCategory(this, Gdo, BookCategoryComboBox.SelectedItem, false, false); }