C# Class vlko.web.Controllers.PageController

Inheritance: vlko.core.Base.BaseController
Datei anzeigen Open project: vlko/vlko

Public Methods

Method Description
Reply ( string friendlyUrl, System.Guid parentId, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult

URL: Page/{friendlyUrl}/Reply/{parentId}

ViewPage ( string friendlyUrl, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult

URL: Page/{friendlyUrl}

Private Methods

Method Description
Index ( PagedModel pageModel ) : System.Web.Mvc.ActionResult
LoadComments ( CommentViewTypeEnum sort, IEnumerable &comments, PagedModel commentsModel, System.Guid staticTextId ) : void

Loads the comments.

NewComment ( PagedModel commentsModel, CommentCRUDModel model, string sort ) : System.Web.Mvc.ActionResult
ParseCommentViewType ( string sort ) : CommentViewTypeEnum

Parses the type of the comment view.

Method Details

Reply() public method

URL: Page/{friendlyUrl}/Reply/{parentId}
public Reply ( string friendlyUrl, System.Guid parentId, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult
friendlyUrl string The friendly URL.
parentId System.Guid The parent id.
commentsModel PagedModel The comments model.
sort string The sort.
return System.Web.Mvc.ActionResult

ViewPage() public method

URL: Page/{friendlyUrl}
public ViewPage ( string friendlyUrl, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult
friendlyUrl string The friendly URL.
commentsModel PagedModel The comments model.
sort string The sort.
return System.Web.Mvc.ActionResult