예제 #1
0
 public ICollection <SimpleBookDto> FindByAuthor(string author)
 {
     return(_dao.FindWhere(book => book.Author.IndexOf(author, StringComparison.InvariantCultureIgnoreCase) >= 0)
            .Select(book => book.ToSimpleBookDto()).ToList());
 }