C# Class BookMgnt.Controllers.BookController

Inheritance: Controller
Afficher le fichier Open project: hiepbh/Assignment

Méthodes publiques

Méthode Description
Category ( int id, int page ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Index ( int page, string query ) : System.Web.Mvc.ActionResult

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CategoryList ( ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Create ( Book book, System.Web.HttpPostedFileBase imagePath ) : System.Web.Mvc.ActionResult
CreateCategory ( ) : System.Web.Mvc.ActionResult
CreateCategory ( Category category ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( [ Include = "ID,Name,Author,Introduce,imagePath,pubYear,CategoriesID")]Bookbook, System.Web.HttpPostedFileBase image_book ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult

Method Details

Category() public méthode

public Category ( int id, int page ) : System.Web.Mvc.ActionResult
id int
page int
Résultat System.Web.Mvc.ActionResult

Details() public méthode

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Index() public méthode

public Index ( int page, string query ) : System.Web.Mvc.ActionResult
page int
query string
Résultat System.Web.Mvc.ActionResult