protected void EditBy(Product Product) { EditorFormTitle = "EDIT"; this.Product = Product; ProductEditorForm.Show(); }
protected void ShowEditorForm() { EditorFormTitle = "ADD"; Product = new Product(); ProductEditorForm.Show(); }
protected async void SaveOrUpdated() { ProductEditorForm.Close(); await DisplayData(); StateHasChanged(); }