private void NewBookType_OnClick(object sender, RoutedEventArgs e) { var entity = UIShared.EditBookType(this, Gdo, null, true); if (entity != null) { DataObject.BookTypeId = entity.Id; } }
private void EditBookType(bool isNew = false) { UIShared.EditBookType(this, Gdo, BookTypeDataGrid.SelectedItem, isNew); }
private void EditBookType_OnClick(object sender, RoutedEventArgs e) { UIShared.EditBookType(this, Gdo, BookTypeComboBox.SelectedItem, false, false); }