public IReadOnlyList<BlogPost> GetBlogPostsByAuthor(string author) { if (_authorToPostsLookup.ContainsKey(author)) { return _authorToPostsLookup[author]; } return new List<BlogPost>(); }