protected async System.Threading.Tasks.Task Load() { var northwindGetCustomersResult = await Northwind.GetCustomers(); getCustomersResult = northwindGetCustomersResult; var northwindGetCustomerDemographicsResult = await Northwind.GetCustomerDemographics(); getCustomerDemographicsResult = northwindGetCustomerDemographicsResult; customercustomerdemo = new NorthwindBlazor.Models.Northwind.CustomerCustomerDemo(); }
protected async System.Threading.Tasks.Task Form0Submit(NorthwindBlazor.Models.Northwind.CustomerCustomerDemo args) { try { var northwindUpdateCustomerCustomerDemoResult = await Northwind.UpdateCustomerCustomerDemo($"{CustomerID}", $"{CustomerTypeID}", customercustomerdemo); DialogService.Close(customercustomerdemo); } catch (Exception northwindUpdateCustomerCustomerDemoException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update CustomerCustomerDemo"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(NorthwindBlazor.Models.Northwind.CustomerCustomerDemo args) { var result = await DialogService.OpenAsync <EditCustomerCustomerDemo>("Edit Customer Customer Demo", new Dictionary <string, object>() { { "CustomerID", args.CustomerID }, { "CustomerTypeID", args.CustomerTypeID } }); await InvokeAsync(() => { StateHasChanged(); }); }
partial void OnCustomerCustomerDemoUpdated(Models.Northwind.CustomerCustomerDemo item);