UpdateUserRoleController Members

TriCodeTest

UpdateUserRoleController Members

The UpdateUserRoleController type exposes the following members.

Constructors


  Name Description
Public method UpdateUserRoleController
Initializes a new instance of the UpdateUserRoleController class.

Methods


  Name Description
Public method Index
Indexes this instance.
Public method RoleAddToUser
Roles the add to user.
Public method setRoleAdmin
Sets the role admin.
Public method setRoleCustomer
Sets the role customer.
Public method setRoleStaff
Sets the role staff.
Public method UpdateUserRole
Updates the user role.

Fields


  Name Description
Private field _context
Private field _roleManager
Private field _userManager