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

            var dbAtVdc2GetTblGnGenderByGenderSeqResult = await DbAtVdc2.GetTblGnGenderByGenderSeq(int.Parse($"{Gender_SEQ}"));

            tblgngender = dbAtVdc2GetTblGnGenderByGenderSeqResult;
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnGender args)
        {
            try
            {
                var dbAtVdc2UpdateTblGnGenderResult = await DbAtVdc2.UpdateTblGnGender(int.Parse($"{Gender_SEQ}"), tblgngender);

                DialogService.Close(tblgngender);
            }
            catch (Exception dbAtVdc2UpdateTblGnGenderException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnGender");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblGnGender args)
        {
            var result = await DialogService.OpenAsync <EditTblGnGender>("Edit Tbl Gn Gender", new Dictionary <string, object>() { { "Gender_SEQ", args.Gender_SEQ } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
 protected async System.Threading.Tasks.Task Load()
 {
     tblgngender = new CanErp2.Models.DbAtVdc2.TblGnGender();
 }