protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblIcWarehouseByWarehouseIdResult = await DbAtVdc2.GetTblIcWarehouseByWarehouseId($"{Warehouse_ID}");

            tblicwarehouse = dbAtVdc2GetTblIcWarehouseByWarehouseIdResult;
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcWarehouse args)
        {
            try
            {
                var dbAtVdc2CreateTblIcWarehouseResult = await DbAtVdc2.CreateTblIcWarehouse(tblicwarehouse);

                DialogService.Close(tblicwarehouse);
            }
            catch (Exception dbAtVdc2CreateTblIcWarehouseException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcWarehouse!");
            }
        }
 protected async System.Threading.Tasks.Task Load()
 {
     tblicwarehouse = new CanErp2.Models.DbAtVdc2.TblIcWarehouse();
 }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblIcWarehouse args)
        {
            var result = await DialogService.OpenAsync <EditTblIcWarehouse>("Edit Tbl Ic Warehouse", new Dictionary <string, object>() { { "Warehouse_ID", args.Warehouse_ID } });

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