protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblHpNhanViensResult = await DbAtVdc2.GetTblHpNhanViens(); getTblHpNhanViensResult = dbAtVdc2GetTblHpNhanViensResult; tblhpchitietcongtac = new CanErpHp.Models.DbAtVdc2.TblHpChiTietCongTac(); }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpChiTietCongTac args) { try { var dbAtVdc2CreateTblHpChiTietCongTacResult = await DbAtVdc2.CreateTblHpChiTietCongTac(tblhpchitietcongtac); DialogService.Close(tblhpchitietcongtac); } catch (Exception dbAtVdc2CreateTblHpChiTietCongTacException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpChiTietCongTac!"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.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(); }); }