Method | Description | |
---|---|---|
Delete ( int id ) : void |
Delete an existing Subject object
|
|
Get ( int id ) : |
One subject, by its identifier
|
|
Get ( ) : IEnumerable |
All subjects, sorted by subject code
|
|
Get ( string list ) : IEnumerable |
All subjects, for a lookup list
|
|
GetWithProgram ( int id, string program ) : |
One subject, by its identifier; includes its program information
|
|
Post ( |
Add a new Subject object to the collection
|
|
Put ( int id, |
Update an existing Subject object, by its identifier
|
public Get ( int id ) : |
||
id | int | Subject object identifier |
return |
public Get ( string list ) : IEnumerable |
||
list | string | Add the query string 'list' |
return | IEnumerable |
public GetWithProgram ( int id, string program ) : |
||
id | int | Subject object identifier |
program | string | Add a query string 'program' |
return |
public Post ( |
||
newSubject | Fully-configured Subject object, with its program identifier | |
return |
public Put ( int id, |
||
id | int | Subject object identifier |
updatedSubject | Updated Subject object in the message body | |
return |