C# Class Commencement.Controllers.TermCodeController

Inheritance: ApplicationController
Datei anzeigen Open project: ucdavis/Commencement

Public Methods

Method Description
Activate ( string termCodeId ) : System.Web.Mvc.ActionResult

Activates the current TermCode, deactivates all others.

Add ( string termCodeId ) : System.Web.Mvc.ActionResult

Adds the vTermCode to TermCodes, then it should redirect to the edit.

Details ( string termCodeId ) : System.Web.Mvc.ActionResult
Edit ( string termCodeId ) : System.Web.Mvc.ActionResult

Allow editing of some fields

Index ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Edit ( string id, TermCode termCode ) : System.Web.Mvc.ActionResult

Method Details

Activate() public method

Activates the current TermCode, deactivates all others.
public Activate ( string termCodeId ) : System.Web.Mvc.ActionResult
termCodeId string
return System.Web.Mvc.ActionResult

Add() public method

Adds the vTermCode to TermCodes, then it should redirect to the edit.
public Add ( string termCodeId ) : System.Web.Mvc.ActionResult
termCodeId string
return System.Web.Mvc.ActionResult

Details() public method

public Details ( string termCodeId ) : System.Web.Mvc.ActionResult
termCodeId string
return System.Web.Mvc.ActionResult

Edit() public method

Allow editing of some fields
public Edit ( string termCodeId ) : System.Web.Mvc.ActionResult
termCodeId string
return System.Web.Mvc.ActionResult

Index() public method

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