public List<Contract_VideoLocal> GetIgnoredFiles(int userID) { List<Contract_VideoLocal> contracts = new List<Contract_VideoLocal>(); try { VideoLocalRepository repVids = new VideoLocalRepository(); foreach (VideoLocal vid in repVids.GetIgnoredVideos()) { contracts.Add(vid.ToContract(userID)); } } catch (Exception ex) { logger.ErrorException(ex.ToString(), ex); } return contracts; }