Beispiel #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblHpTonGiaoByTonGiaoIdResult = await DbAtVdc2.GetTblHpTonGiaoByTonGiaoId($"{TonGiao_ID}");

            tblhptongiao = dbAtVdc2GetTblHpTonGiaoByTonGiaoIdResult;
        }
Beispiel #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpTonGiaoResult = await DbAtVdc2.UpdateTblHpTonGiao($"{TonGiao_ID}", tblhptongiao);

                DialogService.Close(tblhptongiao);
            }
            catch (Exception dbAtVdc2UpdateTblHpTonGiaoException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpTonGiao");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao args)
        {
            var result = await DialogService.OpenAsync <EditTblHpTonGiao>("Edit Tbl Hp Ton Giao", new Dictionary <string, object>() { { "TonGiao_ID", args.TonGiao_ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
Beispiel #4
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblhptongiao = new CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao();
 }