public void Populate(SearchAttributes searchParam) { try { var variableLanguages = VariableService.GetVariableLanguages(searchParam, TSMContext.CurrentLanguageID); this.Variables = variableLanguages.Select(v => v.Variable).ToList(); // this.Variables = VariableService.GetVariables(); this.SearchParam = searchParam; } catch (Exception ex) { ErrorLog.WriteLog("ManageVariableModel", "Populate", ex, ""); } }