protected async System.Threading.Tasks.Task Load()
        {
            var northwindGetEmployeesResult = await Northwind.GetEmployees();

            getEmployeesResult = northwindGetEmployeesResult;

            var northwindGetShippersResult = await Northwind.GetShippers();

            getShippersResult = northwindGetShippersResult;

            order = new NwBlazor.Models.Northwind.Order();
        }
        protected async System.Threading.Tasks.Task Form0Submit(NwBlazor.Models.Northwind.Order args)
        {
            try
            {
                var northwindUpdateOrderResult = await Northwind.UpdateOrder(OrderID, order);

                DialogService.Close(order);
            }
            catch (Exception northwindUpdateOrderException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Order");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowExpand(NwBlazor.Models.Northwind.Order args)
        {
            master = args;

            var northwindGetOrderDetailsResult = await Northwind.GetOrderDetails(new Query()
            {
                Filter = $@"i => i.OrderID == {args.OrderID}"
            });

            foreach (var r in northwindGetOrderDetailsResult.ToList())
            {
                args.OrderDetails.Add(r);
            }
            ;
        }
        protected async System.Threading.Tasks.Task Form0Submit(NwBlazor.Models.Northwind.Order args)
        {
            order.CustomerID = CustomerID;

            try
            {
                var northwindCreateOrderResult = await Northwind.CreateOrder(order);

                DialogService.Close(order);
            }
            catch (Exception northwindCreateOrderException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new Order!");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(NwBlazor.Models.Northwind.Order args)
        {
            var result = await DialogService.OpenAsync <EditOrder>("Edit Order", new Dictionary <string, object>() { { "OrderID", args.OrderID } });

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