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

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

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

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

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

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

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

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

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

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

Shows a form for creating a new account associated with the active user.
public Create ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

Show a form to edit the given account. If no account is given, edit the active account instead.
public Edit ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

Shows all the people that follow a list owned by the current account.
public Followers ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

Show all the people an account is following.
public Following ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
Результат System.Web.Mvc.ActionResult

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

public Search ( string searchString ) : System.Web.Mvc.ActionResult
searchString string
Результат System.Web.Mvc.ActionResult

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

Shows a page listing all the posts of the account.
public Show ( string accountName ) : System.Web.Mvc.ActionResult
accountName string
Результат System.Web.Mvc.ActionResult

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

Makes the active account unfollow the given account. Idempotent.
public UnFollow ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult