C# 클래스 CTCClassSchedule.Controllers.ApiController

상속: Controller
파일 보기 프로젝트 열기: BellevueCollege/ClassSchedule 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

ApiController() 공개 메소드

public ApiController ( ) : System
리턴 System

GetSeats() 공개 메소드

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

GetSubjectList() 공개 정적인 메소드

public static GetSubjectList ( string yearQuarter ) : IList
yearQuarter string
리턴 IList

Subjects() 공개 메소드

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
리턴 System.Web.Mvc.ActionResult