protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpNhanVien args) { try { var dbAtVdc2UpdateTblHpNhanVienResult = await DbAtVdc2.UpdateTblHpNhanVien($"{NhanVien_ID}", tblhpnhanvien); DialogService.Close(tblhpnhanvien); } catch (Exception dbAtVdc2UpdateTblHpNhanVienException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpNhanVien"); } }
protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblHpTinhTpsResult = await DbAtVdc2.GetTblHpTinhTps(); getTblHpTinhTpsResult = dbAtVdc2GetTblHpTinhTpsResult; var dbAtVdc2GetTblHpDanTocsResult = await DbAtVdc2.GetTblHpDanTocs(); getTblHpDanTocsResult = dbAtVdc2GetTblHpDanTocsResult; var dbAtVdc2GetTblHpTonGiaosResult = await DbAtVdc2.GetTblHpTonGiaos(); getTblHpTonGiaosResult = dbAtVdc2GetTblHpTonGiaosResult; var dbAtVdc2GetTblHpQuocTichesResult = await DbAtVdc2.GetTblHpQuocTiches(); getTblHpQuocTichesResult = dbAtVdc2GetTblHpQuocTichesResult; var dbAtVdc2GetTblHpQuansResult = await DbAtVdc2.GetTblHpQuans(); getTblHpQuansResult = dbAtVdc2GetTblHpQuansResult; var dbAtVdc2GetTblGnDepartmentsResult = await DbAtVdc2.GetTblGnDepartments(); getTblGnDepartmentsResult = dbAtVdc2GetTblGnDepartmentsResult; var dbAtVdc2GetTblHpDonViTosResult = await DbAtVdc2.GetTblHpDonViTos(); getTblHpDonViTosResult = dbAtVdc2GetTblHpDonViTosResult; var dbAtVdc2GetTblHpChucVusResult = await DbAtVdc2.GetTblHpChucVus(); getTblHpChucVusResult = dbAtVdc2GetTblHpChucVusResult; var dbAtVdc2GetTblHpTrinhDoVanHoasResult = await DbAtVdc2.GetTblHpTrinhDoVanHoas(); getTblHpTrinhDoVanHoasResult = dbAtVdc2GetTblHpTrinhDoVanHoasResult; var dbAtVdc2GetTblHpNgachesResult = await DbAtVdc2.GetTblHpNgaches(); getTblHpNgachesResult = dbAtVdc2GetTblHpNgachesResult; var dbAtVdc2GetTblHpBacsResult = await DbAtVdc2.GetTblHpBacs(); getTblHpBacsResult = dbAtVdc2GetTblHpBacsResult; tblhpnhanvien = new CanErpHp.Models.DbAtVdc2.TblHpNhanVien(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblHpNhanVien args) { var result = await DialogService.OpenAsync <EditTblHpNhanVien>("Edit Tbl Hp Nhan Vien", new Dictionary <string, object>() { { "NhanVien_ID", args.NhanVien_ID } }); await InvokeAsync(() => { StateHasChanged(); }); }