Exemplo n.º 1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblHpQuanByQuanIdResult = await DbAtVdc2.GetTblHpQuanByQuanId($"{Quan_ID}");

            tblhpquan = dbAtVdc2GetTblHpQuanByQuanIdResult;
        }
Exemplo n.º 2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpQuan args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpQuanResult = await DbAtVdc2.UpdateTblHpQuan($"{Quan_ID}", tblhpquan);

                DialogService.Close(tblhpquan);
            }
            catch (Exception dbAtVdc2UpdateTblHpQuanException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpQuan");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpQuan args)
        {
            var result = await DialogService.OpenAsync <EditTblHpQuan>("Edit Tbl Hp Quan", new Dictionary <string, object>() { { "Quan_ID", args.Quan_ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
 protected async System.Threading.Tasks.Task Load()
 {
     tblhpquan = new CanErpHrPr.Models.DbAtVdc2.TblHpQuan();
 }