C# Class CTCClassSchedule.Controllers.ApiController

Inheritance: Controller
Afficher le fichier Open project: BellevueCollege/ClassSchedule Class Usage Examples

Méthodes publiques

Méthode Description
ApiController ( ) : System
GetSeats ( string classID ) : System.Web.Mvc.ActionResult

Retrieves and updates Seats Available data for the specified Section

GetSubjectList ( string yearQuarter ) : IList

Subjects ( string format, string YearQuarter ) : System.Web.Mvc.ActionResult

Returns an array of Course Subjects

To receive the list as a JSON array call this method with format=json: http://localhost/Api/Subjects?format=json

Private Methods

Méthode Description
ClassEdit ( System.Web.Mvc.FormCollection collection ) : System.Web.Mvc.ActionResult
ClassEdit ( string CourseNumber, string Subject, bool IsCommonCourse ) : System.Web.Mvc.ActionResult
CrossListedCourses ( string courseID, string yearQuarterID ) : System.Web.Mvc.JsonResult
Export ( String YearQuarterID ) : System.Web.Mvc.FileResult
UpdateSectionFootnote ( string classId, string newFootnoteText ) : System.Web.Mvc.ActionResult

Method Details

ApiController() public méthode

public ApiController ( ) : System
Résultat System

GetSeats() public méthode

Retrieves and updates Seats Available data for the specified Section
public GetSeats ( string classID ) : System.Web.Mvc.ActionResult
classID string
Résultat System.Web.Mvc.ActionResult

GetSubjectList() public static méthode

public static GetSubjectList ( string yearQuarter ) : IList
yearQuarter string
Résultat IList

Subjects() public méthode

Returns an array of Course Subjects
To receive the list as a JSON array call this method with format=json: http://localhost/Api/Subjects?format=json
public Subjects ( string format, string YearQuarter ) : System.Web.Mvc.ActionResult
format string
YearQuarter string
Résultat System.Web.Mvc.ActionResult