C# Class Cares.Web.Controllers.UsersAdminController

Inheritance: Controller
显示文件 Open project: innoist/GF-FRS

Public Methods

Method Description
CreateUser ( ) : System.Web.Mvc.ActionResult

Creates new user model

DeleteUser ( string Id ) : System.Web.Mvc.ActionResult

Deletes user for User id

EditUser ( string id ) : System.Web.Mvc.ActionResult

Edits user for user id

Index ( ) : System.Web.Mvc.ActionResult

List downs all users for domain key

UsersAdminController ( ) : Cares.Models.IdentityModels
ViewUserDetail ( string id ) : System.Web.Mvc.ActionResult

View user details

Private Methods

Method Description
AddUserToUserManager ( AspNetUser user, UserManagement model ) : string

Add User

CreateUser ( UserManagement model ) : System.Web.Mvc.ActionResult
EditUser ( UserModelForEditUser model ) : System.Web.Mvc.ActionResult
GetAllUsers ( ) : IEnumerable

Get All Users

Method Details

CreateUser() public method

Creates new user model
public CreateUser ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

DeleteUser() public method

Deletes user for User id
public DeleteUser ( string Id ) : System.Web.Mvc.ActionResult
Id string
return System.Web.Mvc.ActionResult

EditUser() public method

Edits user for user id
public EditUser ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult

Index() public method

List downs all users for domain key
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

UsersAdminController() public method

public UsersAdminController ( ) : Cares.Models.IdentityModels
return Cares.Models.IdentityModels

ViewUserDetail() public method

View user details
public ViewUserDetail ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult