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

            var dbAtVdc2GetTblHpNgoaiNguByNgoaiNguIdResult = await DbAtVdc2.GetTblHpNgoaiNguByNgoaiNguId($"{NgoaiNgu_ID}");

            tblhpngoaingu = dbAtVdc2GetTblHpNgoaiNguByNgoaiNguIdResult;
        }
Beispiel #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpNgoaiNgu args)
        {
            try
            {
                var dbAtVdc2CreateTblHpNgoaiNguResult = await DbAtVdc2.CreateTblHpNgoaiNgu(tblhpngoaingu);

                DialogService.Close(tblhpngoaingu);
            }
            catch (Exception dbAtVdc2CreateTblHpNgoaiNguException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpNgoaiNgu!");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblHpNgoaiNgu args)
        {
            var result = await DialogService.OpenAsync <EditTblHpNgoaiNgu>("Edit Tbl Hp Ngoai Ngu", new Dictionary <string, object>() { { "NgoaiNgu_ID", args.NgoaiNgu_ID } });

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