C# Class PlayoffsCreator.Controllers.TeamAPIController

Inheritance: ApiController
Mostrar archivo Open project: dzaba/EricpolSummerSchool.ASPNETMVC

Public Methods

Method Description
DeleteTeamModel ( int id ) : HttpResponseMessage
GetTeamModel ( int id ) : TeamModel
GetTeamModel ( string name ) : TeamModel
GetTeamModels ( ) : IEnumerable
PostTeamModel ( TeamModel teammodel ) : HttpResponseMessage
PutTeamModel ( int id, TeamModel teammodel ) : HttpResponseMessage

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

DeleteTeamModel() public method

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

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetTeamModel() public method

public GetTeamModel ( int id ) : TeamModel
id int
return PlayoffsCreator.Models.TeamModel

GetTeamModel() public method

public GetTeamModel ( string name ) : TeamModel
name string
return PlayoffsCreator.Models.TeamModel

GetTeamModels() public method

public GetTeamModels ( ) : IEnumerable
return IEnumerable

PostTeamModel() public method

public PostTeamModel ( TeamModel teammodel ) : HttpResponseMessage
teammodel PlayoffsCreator.Models.TeamModel
return System.Net.Http.HttpResponseMessage

PutTeamModel() public method

public PutTeamModel ( int id, TeamModel teammodel ) : HttpResponseMessage
id int
teammodel PlayoffsCreator.Models.TeamModel
return System.Net.Http.HttpResponseMessage