C# Class BookManagement.Controllers.AdminController

Inheritance: Controller
Show file Open project: hiepbh/Assignment

Public Methods

Method Description
Custom ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
InsertBook ( ) : System.Web.Mvc.ActionResult
Statistics ( bool top = true, int count = 10 ) : System.Web.Mvc.ActionResult
UserManage ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Custom ( CustomProperties cus, System.Web.HttpPostedFileBase banner, System.Web.HttpPostedFileBase logo ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( Book book ) : System.Web.Mvc.ActionResult
InsertBook ( Book book, System.Web.HttpPostedFileBase PhotoPath ) : System.Web.Mvc.ActionResult

Method Details

Custom() public method

public Custom ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

InsertBook() public method

public InsertBook ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Statistics() public method

public Statistics ( bool top = true, int count = 10 ) : System.Web.Mvc.ActionResult
top bool
count int
return System.Web.Mvc.ActionResult

UserManage() public method

public UserManage ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult