public static List<Shows> GetAllEnteredShows(int UserID) { String moduleSettings = ModuleConfig.GetSettings(); List<Shows> showsList = new List<Shows>(); try { Data.Shows shows = new Data.Shows(moduleSettings); DataSet ds= shows.GetAllEnteredShows(UserID); foreach (DataRow row in ds.Tables[0].Rows) { showsList.Add(new Shows(row)); } } catch (Exception e) { AppException.LogEvent("getAllShows:" + e.Message); throw e; } return showsList; }