C# Class MvcPaging.Demo.Controllers.PagingController

Inheritance: Controller
显示文件 Open project: TrainingPeaks/MvcPaging

Public Methods

Method Description
AjaxPage ( int page ) : System.Web.Mvc.ActionResult
Bootstrap ( int page ) : System.Web.Mvc.ActionResult
Bootstrap3 ( int page ) : System.Web.Mvc.ActionResult
CustomPageRouteValueKey ( MvcPaging.Demo.Models.SearchModel search ) : System.Web.Mvc.ActionResult
Index ( int page ) : System.Web.Mvc.ActionResult
IndexAjax ( ) : System.Web.Mvc.ActionResult
PagingController ( ) : System.Collections.Generic
ViewByCategories ( string categories, int page ) : System.Web.Mvc.ActionResult
ViewByCategory ( string categoryName, int page ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
InitializeProducts ( ) : void

Method Details

AjaxPage() public method

public AjaxPage ( int page ) : System.Web.Mvc.ActionResult
page int
return System.Web.Mvc.ActionResult

Bootstrap() public method

public Bootstrap ( int page ) : System.Web.Mvc.ActionResult
page int
return System.Web.Mvc.ActionResult

Bootstrap3() public method

public Bootstrap3 ( int page ) : System.Web.Mvc.ActionResult
page int
return System.Web.Mvc.ActionResult

CustomPageRouteValueKey() public method

public CustomPageRouteValueKey ( MvcPaging.Demo.Models.SearchModel search ) : System.Web.Mvc.ActionResult
search MvcPaging.Demo.Models.SearchModel
return System.Web.Mvc.ActionResult

Index() public method

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

IndexAjax() public method

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

PagingController() public method

public PagingController ( ) : System.Collections.Generic
return System.Collections.Generic

ViewByCategories() public method

public ViewByCategories ( string categories, int page ) : System.Web.Mvc.ActionResult
categories string
page int
return System.Web.Mvc.ActionResult

ViewByCategory() public method

public ViewByCategory ( string categoryName, int page ) : System.Web.Mvc.ActionResult
categoryName string
page int
return System.Web.Mvc.ActionResult