Пример #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblHpNgachByNgachIdResult = await DbAtVdc2.GetTblHpNgachByNgachId($"{Ngach_ID}");

            tblhpngach = dbAtVdc2GetTblHpNgachByNgachIdResult;
        }
Пример #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpNgach args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpNgachResult = await DbAtVdc2.UpdateTblHpNgach($"{Ngach_ID}", tblhpngach);

                DialogService.Close(tblhpngach);
            }
            catch (Exception dbAtVdc2UpdateTblHpNgachException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpNgach");
            }
        }
Пример #3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblhpngach = new CanErpHrPr.Models.DbAtVdc2.TblHpNgach();
 }
Пример #4
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpNgach args)
        {
            var result = await DialogService.OpenAsync <EditTblHpNgach>("Edit Tbl Hp Ngach", new Dictionary <string, object>() { { "Ngach_ID", args.Ngach_ID } });

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