C# Class sep20v1.Controllers.ProgramsController

Inheritance: ApiController
Mostra file Open project: peteratseneca/dps907fall2013

Public Methods

Method Description
Delete ( int id ) : void
Get ( int id ) : HttpResponseMessage
Get ( ) : IEnumerable
GetList ( string list ) : IEnumerable
GetWithSubjects ( string subjects ) : IEnumerable
Post ( ProgramPublic newProgram ) : HttpResponseMessage
Put ( int id, ProgramBase updatedProgram ) : 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

GetList() public method

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

GetWithSubjects() public method

public GetWithSubjects ( string subjects ) : IEnumerable
subjects string
return IEnumerable

Post() public method

public Post ( ProgramPublic newProgram ) : HttpResponseMessage
newProgram sep20v1.ViewModels.ProgramPublic
return System.Net.Http.HttpResponseMessage

Put() public method

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