protected async System.Threading.Tasks.Task Form0Submit(NorthwindBlazor.Models.Northwind.CustomerDemographic args)
        {
            try
            {
                var northwindCreateCustomerDemographicResult = await Northwind.CreateCustomerDemographic(customerdemographic);

                DialogService.Close(customerdemographic);
            }
            catch (Exception northwindCreateCustomerDemographicException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new CustomerDemographic!");
            }
        }
Esempio n. 2
0
        protected async void Form0Submit(CustomerDemographic args)
        {
            var northwindCreateCustomerDemographicResult = await Northwind.CreateCustomerDemographic(customerdemographic);

            DialogService.Close(customerdemographic);
        }
Esempio n. 3
0
        protected async void Form0Submit(CustomerDemographic args)
        {
            var northwindCreateCustomerDemographicResult = await Northwind.CreateCustomerDemographic(customerdemographic);

            UriHelper.NavigateTo("CustomerDemographics");
        }