public static IEnumerable <Author> GetAuthors(IEnumerable <int> ids) { return(AuthorList.Where(a => ids.Contains(a.Id))); }