Example #1
0
 public List <Book> GetAllBooks()
 {
     try
     {
         log.Debug("Book_All_Get");
         return(bookSql.GetAllBooks(typeSql));
     }
     catch (Exception e)
     {
         log.Error("Get All Books", e);
         return(bookSql.FailedBookList());
     }
 }