C# Class Tigwi.UI.Controllers.PostController

Inheritance: HomeController
Afficher le fichier Open project: ismaelbelghiti/Tigwi

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Write ( WritePostViewModel post ) : System.Web.Mvc.ActionResult

Method Details

Delete() public méthode

Deletes a post.
public Delete ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

PostController() public méthode

public PostController ( IStorage storage ) : System
storage IStorage
Résultat System

Reply() public méthode

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
Résultat System.Web.Mvc.ActionResult

Repost() public méthode

Repost something poster by another user (Retweets in Twitter).
public Repost ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Tag() public méthode

Tags (favorites) a post.
public Tag ( System.Guid postId ) : System.Web.Mvc.ActionResult
postId System.Guid
Résultat System.Web.Mvc.ActionResult

UnTag() public méthode

Untag (unfavorites) a post.
public UnTag ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult