ManageController Members

TriCodeTest

ManageController Members

The ManageController type exposes the following members.

Constructors


  Name Description
Public method ManageController
Constructor: Initialization and assignment is done here

Methods


  Name Description
Private method AddErrors
Adds the errors.
Public method AddPhoneNumber()()()()
Return the view that allows user to add phone number
Public method AddPhoneNumber(ApplicationUser)
Gets phone number that is assigned to the user
Public method ChangePassword()()()()
View Change Password
Public method ChangePassword(ChangePasswordViewModel)
Make changes to the password
Private method GetCurrentUserAsync
Gets the current user asynchronous.
Public method Index
Display data for use to make edits to them.
Public method LinkLogin
Links the login.
Public method LinkLoginCallback
Links the login callback.
Public method ManageLogins
Manage user login
Public method RemoveLogin
Removes the login.
Public method RemovePhoneNumber
Remove number
Public method SetFirstName()()()()
User first name view
Public method SetFirstName(ApplicationUser)
Set the first name for the current user
Public method SetLastName()()()()
Last name view
Public method SetLastName(ApplicationUser)
Set the first name for the currently logged user
Public method SetPassword()()()()
Set password View
Public method SetPassword(SetPasswordViewModel)
Set the password (By currently logged in user)
Public method VerifyPhoneNumber(String)
Get and Check if phone number is valid
Public method VerifyPhoneNumber(VerifyPhoneNumberViewModel)
Before posting phone number to the database do one more check