コード例 #1
0
 public ActionResult BookCollection()
 {
     var db = new TechFest.Backbone.Models.BooksEntities();
     return View(db.Books);
 }
コード例 #2
0
 public ActionResult SingleBook()
 {
     var db = new TechFest.Backbone.Models.BooksEntities();
     return View(db.Books.First());
 }