protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblHpNhanViensResult = await DbAtVdc2.GetTblHpNhanViens(); getTblHpNhanViensResult = dbAtVdc2GetTblHpNhanViensResult; tblhpchitietchuyenmon = new CanErpHrPr.Models.DbAtVdc2.TblHpChiTietChuyenMon(); }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietChuyenMon args) { try { var dbAtVdc2UpdateTblHpChiTietChuyenMonResult = await DbAtVdc2.UpdateTblHpChiTietChuyenMon(int.Parse($"{ChiTietChuyenMon_SEQ}"), tblhpchitietchuyenmon); DialogService.Close(tblhpchitietchuyenmon); } catch (Exception dbAtVdc2UpdateTblHpChiTietChuyenMonException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpChiTietChuyenMon"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietChuyenMon args) { var result = await DialogService.OpenAsync <EditTblHpChiTietChuyenMon>("Edit Tbl Hp Chi Tiet Chuyen Mon", new Dictionary <string, object>() { { "ChiTietChuyenMon_SEQ", args.ChiTietChuyenMon_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }