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

            var dbAtVdc2GetTblGnProductByProductSeqResult = await DbAtVdc2.GetTblGnProductByProductSeq(int.Parse($"{Product_SEQ}"));

            tblgnproduct = dbAtVdc2GetTblGnProductByProductSeqResult;
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnProduct args)
        {
            try
            {
                var dbAtVdc2CreateTblGnProductResult = await DbAtVdc2.CreateTblGnProduct(tblgnproduct);

                DialogService.Close(tblgnproduct);
            }
            catch (Exception dbAtVdc2CreateTblGnProductException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnProduct!");
            }
        }
 protected async System.Threading.Tasks.Task Load()
 {
     tblgnproduct = new CanErp2.Models.DbAtVdc2.TblGnProduct();
 }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblGnProduct args)
        {
            var result = await DialogService.OpenAsync <EditTblGnProduct>("Edit Tbl Gn Product", new Dictionary <string, object>() { { "Product_SEQ", args.Product_SEQ } });

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