예제 #1
0
 public ActionResult ViewAllBooks()
 {
     using (BooksDAL svBooks = new BooksDAL())
     {
         var results = svBooks.GetBooksWithAuthors().ToList();
         return(View(results));
     }
 }