protected async System.Threading.Tasks.Task Form0Submit(NwBlazor.Models.Northwind.OrderDetail args)
        {
            try
            {
                var northwindCreateOrderDetailResult = await Northwind.CreateOrderDetail(orderdetail);

                DialogService.Close(orderdetail);
            }
            catch (Exception northwindCreateOrderDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new OrderDetail!");
            }
        }
        protected async System.Threading.Tasks.Task Load()
        {
            var northwindGetOrdersResult = await Northwind.GetOrders();

            getOrdersResult = northwindGetOrdersResult;

            var northwindGetProductsResult = await Northwind.GetProducts();

            getProductsResult = northwindGetProductsResult;

            orderdetail = new NwBlazor.Models.Northwind.OrderDetail();

            orderdetail.OrderID = OrderID;
        }
        protected async System.Threading.Tasks.Task Grid1RowSelect(NwBlazor.Models.Northwind.OrderDetail args, dynamic data)
        {
            var result = await DialogService.OpenAsync <EditOrderDetail>("Edit Order Detail", new Dictionary <string, object>() { { "ProductID", args.ProductID }, { "OrderID", args.OrderID } });

            grid1.Reload();
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(NwBlazor.Models.Northwind.OrderDetail args)
        {
            var result = await DialogService.OpenAsync <EditOrderDetail>("Edit Order Detail", new Dictionary <string, object>() { { "OrderID", args.OrderID }, { "ProductID", args.ProductID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }