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

Inheritance: Controller
Show file Open project: titarenko/ClientManager

Public Methods

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

Private Methods

Method 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 method

public CurrentTeamAndUser ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

Index() public method

public Index ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

TeamsController() public method

public TeamsController ( IRepository repository, IAppContext appContext ) : System.Collections.Generic
repository IRepository
appContext IAppContext
return System.Collections.Generic