protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblHpNhanViensResult = await DbAtVdc2.GetTblHpNhanViens(); getTblHpNhanViensResult = dbAtVdc2GetTblHpNhanViensResult; tblhpchitietcongtac = new CanErpHrPr.Models.DbAtVdc2.TblHpChiTietCongTac(); }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietCongTac args) { try { var dbAtVdc2UpdateTblHpChiTietCongTacResult = await DbAtVdc2.UpdateTblHpChiTietCongTac(int.Parse($"{ChiTietCongTac_SEQ}"), tblhpchitietcongtac); DialogService.Close(tblhpchitietcongtac); } catch (Exception dbAtVdc2UpdateTblHpChiTietCongTacException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpChiTietCongTac"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietCongTac args) { var result = await DialogService.OpenAsync <EditTblHpChiTietCongTac>("Edit Tbl Hp Chi Tiet Cong Tac", new Dictionary <string, object>() { { "ChiTietCongTac_SEQ", args.ChiTietCongTac_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }