C# Класс MyStory.Controllers.PostController

Наследование: MyStoryController
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Detail ( int id, bool errorFromCommentInput = false ) : System.Web.Mvc.ActionResult

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

Приватные методы

Метод Описание
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

Описание методов

Detail() публичный Метод

public Detail ( int id, bool errorFromCommentInput = false ) : System.Web.Mvc.ActionResult
id int
errorFromCommentInput bool true, if errors occurred while saving comment
Результат System.Web.Mvc.ActionResult

PostController() публичный Метод

public PostController ( ) : System
Результат System

PostController() публичный Метод

public PostController ( ITagService tagService ) : System
tagService ITagService
Результат System