public static Dictionary <string, string> GetPropertyValueFromDB(int userId, int taskId, List <string> propList) { return(propList.ToDictionary(p => p, p => TaskConfigManager.GetConfigValue(userId, taskId, p, RunTimeContext.Context.DatabaseContext))); }