protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblHpXiNghiepByXiNghiepIdResult = await DbAtVdc2.GetTblHpXiNghiepByXiNghiepId($"{XiNghiep_ID}"); tblhpxinghiep = dbAtVdc2GetTblHpXiNghiepByXiNghiepIdResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpXiNghiep args) { try { var dbAtVdc2UpdateTblHpXiNghiepResult = await DbAtVdc2.UpdateTblHpXiNghiep($"{XiNghiep_ID}", tblhpxinghiep); DialogService.Close(tblhpxinghiep); } catch (Exception dbAtVdc2UpdateTblHpXiNghiepException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpXiNghiep"); } }
protected async System.Threading.Tasks.Task Load() { tblhpxinghiep = new CanErpHrPr.Models.DbAtVdc2.TblHpXiNghiep(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHrPr.Models.DbAtVdc2.TblHpXiNghiep args) { var result = await DialogService.OpenAsync <EditTblHpXiNghiep>("Edit Tbl Hp Xi Nghiep", new Dictionary <string, object>() { { "XiNghiep_ID", args.XiNghiep_ID } }); await InvokeAsync(() => { StateHasChanged(); }); }