C# Class MyStory.Controllers.PostController

Inheritance: MyStoryController
显示文件 Open project: RayKwon/MyStory Class Usage Examples

Public Methods

Method Description
Detail ( int id, bool errorFromCommentInput = false ) : System.Web.Mvc.ActionResult

PostController ( ) : System
PostController ( ITagService tagService ) : System

Private Methods

Method Description
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( PostInput input ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
SetCommenter ( PostDetailViewModel vm ) : void
Write ( ) : System.Web.Mvc.ActionResult
Write ( PostInput input ) : System.Web.Mvc.ActionResult

Method Details

Detail() public method

public Detail ( int id, bool errorFromCommentInput = false ) : System.Web.Mvc.ActionResult
id int
errorFromCommentInput bool true, if errors occurred while saving comment
return System.Web.Mvc.ActionResult

PostController() public method

public PostController ( ) : System
return System

PostController() public method

public PostController ( ITagService tagService ) : System
tagService ITagService
return System