C# Class DBPOLLDemo.Controllers.SysAdminController

Inheritance: Controller
Afficher le fichier Open project: Marknel/dbPOLL

Méthodes publiques

Méthode Description
DeleteConfirm ( int UserID ) : System.Web.Mvc.ActionResult
DeleteSuccess ( int UserID ) : System.Web.Mvc.ActionResult
Edit ( int UserID ) : 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

Returns the view with a choice between creating a short answer and multiple choice question.

RegisterUserSuccess ( ) : System.Web.Mvc.ActionResult

Returns the view with a choice between creating a short answer and multiple choice question.

SysAdmin ( ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
Edit ( int UserID, string expiry, string name, string email ) : System.Web.Mvc.ActionResult
RegisterUser ( String name, String email, string expiry ) : System.Web.Mvc.ActionResult

Method Details

DeleteConfirm() public méthode

public DeleteConfirm ( int UserID ) : System.Web.Mvc.ActionResult
UserID int
Résultat System.Web.Mvc.ActionResult

DeleteSuccess() public méthode

public DeleteSuccess ( int UserID ) : System.Web.Mvc.ActionResult
UserID int
Résultat System.Web.Mvc.ActionResult

Edit() public méthode

Redirects to Edit view to allow modification of User's details.
public Edit ( int UserID ) : System.Web.Mvc.ActionResult
UserID int User to be edited
Résultat System.Web.Mvc.ActionResult

Index() public méthode

public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

RegisterUser() public méthode

Returns the view with a choice between creating a short answer and multiple choice question.
public RegisterUser ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

RegisterUserSuccess() public méthode

Returns the view with a choice between creating a short answer and multiple choice question.
public RegisterUserSuccess ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

SysAdmin() public méthode

public SysAdmin ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult