C# Класс Tigwi.UI.Controllers.PostController

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

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

Метод Описание
Delete ( ) : System.Web.Mvc.ActionResult

Deletes a post.

PostController ( IStorage storage ) : System
Reply ( ) : System.Web.Mvc.ActionResult

Reply to a post. The difference with Write is that it could be better integrated in the UI (see twitter).

Repost ( ) : System.Web.Mvc.ActionResult

Repost something poster by another user (Retweets in Twitter).

Tag ( System.Guid postId ) : System.Web.Mvc.ActionResult

Tags (favorites) a post.

UnTag ( ) : System.Web.Mvc.ActionResult

Untag (unfavorites) a post.

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

Метод Описание
Write ( WritePostViewModel post ) : System.Web.Mvc.ActionResult

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

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

Deletes a post.
public Delete ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

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

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

Reply to a post. The difference with Write is that it could be better integrated in the UI (see twitter).
public Reply ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

Repost something poster by another user (Retweets in Twitter).
public Repost ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

Tags (favorites) a post.
public Tag ( System.Guid postId ) : System.Web.Mvc.ActionResult
postId System.Guid
Результат System.Web.Mvc.ActionResult

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

Untag (unfavorites) a post.
public UnTag ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult