예제 #1
0
 public IEnumerable <Book> GetBooksByTitle(string title)
 {
     if (!string.IsNullOrEmpty(title))
     {
         return(bookDao.GetBooksByTitle(title));
     }
     else
     {
         throw new ArgumentException("Value empty or null -> title");
     }
 }