protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblHpTrinhDoChuyenMonByTrinhDoChuyenMonIdResult = await DbAtVdc2.GetTblHpTrinhDoChuyenMonByTrinhDoChuyenMonId($"{TrinhDoChuyenMon_ID}"); tblhptrinhdochuyenmon = dbAtVdc2GetTblHpTrinhDoChuyenMonByTrinhDoChuyenMonIdResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpTrinhDoChuyenMon args) { try { var dbAtVdc2UpdateTblHpTrinhDoChuyenMonResult = await DbAtVdc2.UpdateTblHpTrinhDoChuyenMon($"{TrinhDoChuyenMon_ID}", tblhptrinhdochuyenmon); DialogService.Close(tblhptrinhdochuyenmon); } catch (Exception dbAtVdc2UpdateTblHpTrinhDoChuyenMonException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpTrinhDoChuyenMon"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpTrinhDoChuyenMon args) { var result = await DialogService.OpenAsync <EditTblHpTrinhDoChuyenMon>("Edit Tbl Hp Trinh Do Chuyen Mon", new Dictionary <string, object>() { { "TrinhDoChuyenMon_ID", args.TrinhDoChuyenMon_ID } }); await InvokeAsync(() => { StateHasChanged(); }); }
protected async System.Threading.Tasks.Task Load() { tblhptrinhdochuyenmon = new CanErpHrPr.Models.DbAtVdc2.TblHpTrinhDoChuyenMon(); }