protected async System.Threading.Tasks.Task Form0Submit(NorthwindBlazor.Models.Northwind.CustomerCustomerDemo args)
        {
            try
            {
                var northwindCreateCustomerCustomerDemoResult = await Northwind.CreateCustomerCustomerDemo(customercustomerdemo);

                DialogService.Close(customercustomerdemo);
            }
            catch (Exception northwindCreateCustomerCustomerDemoException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new CustomerCustomerDemo!");
            }
        }
        protected async void Form0Submit(CustomerCustomerDemo args)
        {
            var northwindCreateCustomerCustomerDemoResult = await Northwind.CreateCustomerCustomerDemo(customercustomerdemo);

            DialogService.Close(customercustomerdemo);
        }
Exemple #3
0
        protected async void Form0Submit(CustomerCustomerDemo args)
        {
            var northwindCreateCustomerCustomerDemoResult = await Northwind.CreateCustomerCustomerDemo(customercustomerdemo);

            UriHelper.NavigateTo("CustomerCustomerDemos");
        }