Example #1
0
 /************************************************************ Book Passers *****/
 public Book InsertBook(string title, string authF, string authL, int type)
 {
     try
     {
         BookType bookType = typeSql.FindTypeById(type);
         log.Debug("Book_" + title + "-" + authL + "_Inserted");
         return(bookSql.InsertBook(title, authF, authL, bookType, typeSql));
     }
     catch (Exception e)
     {
         log.Error("Insert Book(title,authF,authL,type,typeSql) Butler Failure", e);
         return(bookSql.FailedBookQuery());
     }
 }