C# Class BinaryStudio.ClientManager.WebUi.Controllers.TeamsController

Inheritance: Controller
Afficher le fichier Open project: titarenko/ClientManager

Méthodes publiques

Méthode Description
CurrentTeamAndUser ( ) : System.Web.Mvc.ViewResult
Index ( ) : System.Web.Mvc.ViewResult
TeamsController ( IRepository repository, IAppContext appContext ) : System.Collections.Generic

Private Methods

Méthode Description
AddUser ( int personId, int teamId ) : void
CreateTeam ( string name ) : void
GetCurrentUser ( ) : User
MakeTeamCurrent ( int teamId ) : void
RemoveUser ( int userId, int teamId ) : void
SaveCurrentUserAndCurrentTeam ( User value ) : void

Method Details

CurrentTeamAndUser() public méthode

public CurrentTeamAndUser ( ) : System.Web.Mvc.ViewResult
Résultat System.Web.Mvc.ViewResult

Index() public méthode

public Index ( ) : System.Web.Mvc.ViewResult
Résultat System.Web.Mvc.ViewResult

TeamsController() public méthode

public TeamsController ( IRepository repository, IAppContext appContext ) : System.Collections.Generic
repository IRepository
appContext IAppContext
Résultat System.Collections.Generic