C# Class Tigwi.UI.Controllers.AccountController

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

Méthodes publiques

Méthode Description
AccountController ( IStorage storage ) : System
Create ( ) : System.Web.Mvc.ActionResult

Shows a form for creating a new account associated with the active user.

Edit ( ) : System.Web.Mvc.ActionResult

Show a form to edit the given account. If no account is given, edit the active account instead.

Followers ( ) : System.Web.Mvc.ActionResult

Shows all the people that follow a list owned by the current account.

Following ( System.Guid id ) : System.Web.Mvc.ActionResult

Show all the people an account is following.

Search ( string searchString ) : System.Web.Mvc.ActionResult
Show ( string accountName ) : System.Web.Mvc.ActionResult

Shows a page listing all the posts of the account.

UnFollow ( ) : System.Web.Mvc.ActionResult

Makes the active account unfollow the given account. Idempotent.

Private Methods

Méthode Description
AccountExists ( string account ) : System.Web.Mvc.ActionResult
AutoComplete ( string partialAccountName ) : System.Web.Mvc.ActionResult
Create ( AccountCreationViewModel accountCreation ) : System.Web.Mvc.ActionResult
Delete ( System.Guid id ) : System.Web.Mvc.ActionResult
Edit ( AccountEditViewModel editAccount ) : System.Web.Mvc.ActionResult
Follow ( System.Guid id ) : System.Web.Mvc.ActionResult
GetAccount ( System.Guid accountId ) : System.Web.Mvc.ActionResult
IsFollowed ( System.Guid listId ) : System.Web.Mvc.ActionResult
List ( ) : System.Web.Mvc.ActionResult
MakeActive ( string accountName ) : System.Web.Mvc.ActionResult
Remove ( System.Guid id ) : System.Web.Mvc.ActionResult
Timeline ( ) : System.Web.Mvc.ActionResult

Method Details

AccountController() public méthode

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

Create() public méthode

Shows a form for creating a new account associated with the active user.
public Create ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Edit() public méthode

Show a form to edit the given account. If no account is given, edit the active account instead.
public Edit ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Followers() public méthode

Shows all the people that follow a list owned by the current account.
public Followers ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Following() public méthode

Show all the people an account is following.
public Following ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
Résultat System.Web.Mvc.ActionResult

Search() public méthode

public Search ( string searchString ) : System.Web.Mvc.ActionResult
searchString string
Résultat System.Web.Mvc.ActionResult

Show() public méthode

Shows a page listing all the posts of the account.
public Show ( string accountName ) : System.Web.Mvc.ActionResult
accountName string
Résultat System.Web.Mvc.ActionResult

UnFollow() public méthode

Makes the active account unfollow the given account. Idempotent.
public UnFollow ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult