public static IEnumerable <ListItem> GetAcceptableContentForRelation(int contentId) { if (!ContentRepository.Exists(contentId)) { throw new ArgumentException(string.Format(ContentStrings.ContentNotFound, contentId)); } return(ContentRepository.GetAcceptableContentForRelation(contentId)); }