C# Class SnakeBattleNet.Web.Controllers.AdminController

Inheritance: Controller
显示文件 Open project: FoC-/SnakeBattle.Net

Public Methods

Method Description
AdminController ( IUserSearch userSearch, IUserStore userStore, IUserRoleStore roleStore ) : System.Collections.Generic
Index ( ) : System.Web.Mvc.ActionResult
ListUsers ( string username, int skip, int take = 10 ) : Task
Manage ( string id ) : Task

Private Methods

Method Description
Delete ( string id ) : Task
Roles ( IEnumerable roles, string id ) : Task

Method Details

AdminController() public method

public AdminController ( IUserSearch userSearch, IUserStore userStore, IUserRoleStore roleStore ) : System.Collections.Generic
userSearch IUserSearch
userStore IUserStore
roleStore IUserRoleStore
return System.Collections.Generic

Index() public method

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

ListUsers() public method

public ListUsers ( string username, int skip, int take = 10 ) : Task
username string
skip int
take int
return Task

Manage() public method

public Manage ( string id ) : Task
id string
return Task