C# Class DBPOLLDemo.Controllers.UserController

Inheritance: Controller
Mostrar archivo Open project: Marknel/dbPOLL

Public Methods

Method Description
ChangePassword ( ) : System.Web.Mvc.ActionResult
Edit ( ) : System.Web.Mvc.ActionResult

Redirects to Edit view to allow modification of User's details.

Index ( ) : System.Web.Mvc.ActionResult
RegisterUser ( ) : System.Web.Mvc.ActionResult
RegisterUserSuccess ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
ChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : System.Web.Mvc.ActionResult
Edit ( int UserID, string name, string email ) : System.Web.Mvc.ActionResult
RegisterUser ( string email, string name, int user_type ) : System.Web.Mvc.ActionResult
buildSelectList ( ) : void

Method Details

ChangePassword() public method

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

Edit() public method

Redirects to Edit view to allow modification of User's details.
public Edit ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Index() public method

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

RegisterUser() public method

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

RegisterUserSuccess() public method

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