BookManagement.Web.Controllers.BookController.Details C# (CSharp) Méthode

Details() public méthode

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult
        public ActionResult Details(int id = 0)
        {
            Book book = db.Books.Find(id);
            if (book == null)
            {
                return HttpNotFound();
            }
            return View(book);
        }