C# 클래스 Tigwi.UI.Controllers.PostController

상속: HomeController
파일 보기 프로젝트 열기: ismaelbelghiti/Tigwi

공개 메소드들

메소드 설명
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