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

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

공개 메소드들

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