C# Class BlogSharp.Web.Controllers.PostController

Inheritance: BlogSharpController
Show file Open project: BlogSharp/Blogsharp

Public Methods

Method Description
List ( int page ) : System.Web.Mvc.ActionResult
ListByTag ( string tagName, int page ) : System.Web.Mvc.ActionResult
PostController ( IPostService postService ) : System
Read ( string friendlyTitle ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddComment ( int postId, Feedback comment ) : System.Web.Mvc.ActionResult

Method Details

List() public method

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

ListByTag() public method

public ListByTag ( string tagName, int page ) : System.Web.Mvc.ActionResult
tagName string
page int
return System.Web.Mvc.ActionResult

PostController() public method

public PostController ( IPostService postService ) : System
postService IPostService
return System

Read() public method

public Read ( string friendlyTitle ) : System.Web.Mvc.ActionResult
friendlyTitle string
return System.Web.Mvc.ActionResult