C# 클래스 sep24migrations.Controllers.ProgramsController

Methods for the academic programs
상속: ApiController
파일 보기 프로젝트 열기: peteratseneca/dps907fall2013

공개 메소드들

메소드 설명
Delete ( int id ) : void
Get ( int id ) : HttpResponseMessage

One specific program, by its identifier

Get ( ) : IEnumerable

All academic programs, sorted by program code

GetList ( string list ) : IEnumerable

All academic programs, to be used in a lookup list

GetWithSubjects ( string subjects ) : IEnumerable

All academic programs, each with their subjects

Post ( ProgramPublic newProgram ) : HttpResponseMessage
Put ( int id, ProgramBase updatedProgram ) : HttpResponseMessage

메소드 상세

Delete() 공개 메소드

public Delete ( int id ) : void
id int
리턴 void

Get() 공개 메소드

One specific program, by its identifier
public Get ( int id ) : HttpResponseMessage
id int Program identifier
리턴 System.Net.Http.HttpResponseMessage

Get() 공개 메소드

All academic programs, sorted by program code
public Get ( ) : IEnumerable
리턴 IEnumerable

GetList() 공개 메소드

All academic programs, to be used in a lookup list
public GetList ( string list ) : IEnumerable
list string Append the query string 'list'
리턴 IEnumerable

GetWithSubjects() 공개 메소드

All academic programs, each with their subjects
public GetWithSubjects ( string subjects ) : IEnumerable
subjects string Append the query string 'subjects'
리턴 IEnumerable

Post() 공개 메소드

public Post ( ProgramPublic newProgram ) : HttpResponseMessage
newProgram sep24migrations.ViewModels.ProgramPublic
리턴 System.Net.Http.HttpResponseMessage

Put() 공개 메소드

public Put ( int id, ProgramBase updatedProgram ) : HttpResponseMessage
id int
updatedProgram sep24migrations.ViewModels.ProgramBase
리턴 System.Net.Http.HttpResponseMessage