C# Class sep20v1.Controllers.SubjectsController

Inheritance: ApiController
Mostra file Open project: peteratseneca/dps907fall2013

Public Methods

Method Description
Delete ( int id ) : void
Get ( int id ) : HttpResponseMessage
Get ( ) : IEnumerable
Get ( string list ) : IEnumerable
GetWithProgram ( int id, string program ) : HttpResponseMessage
Post ( SubjectAdd newSubject ) : HttpResponseMessage
Put ( int id, SubjectFull updatedSubject ) : HttpResponseMessage

Method Details

Delete() public method

public Delete ( int id ) : void
id int
return void

Get() public method

public Get ( int id ) : HttpResponseMessage
id int
return System.Net.Http.HttpResponseMessage

Get() public method

public Get ( ) : IEnumerable
return IEnumerable

Get() public method

public Get ( string list ) : IEnumerable
list string
return IEnumerable

GetWithProgram() public method

public GetWithProgram ( int id, string program ) : HttpResponseMessage
id int
program string
return System.Net.Http.HttpResponseMessage

Post() public method

public Post ( SubjectAdd newSubject ) : HttpResponseMessage
newSubject sep20v1.ViewModels.SubjectAdd
return System.Net.Http.HttpResponseMessage

Put() public method

public Put ( int id, SubjectFull updatedSubject ) : HttpResponseMessage
id int
updatedSubject sep20v1.ViewModels.SubjectFull
return System.Net.Http.HttpResponseMessage