C# 클래스 PlayoffsCreator.Controllers.TeamAPIController

상속: ApiController
파일 보기 프로젝트 열기: dzaba/EricpolSummerSchool.ASPNETMVC

공개 메소드들

메소드 설명
DeleteTeamModel ( int id ) : HttpResponseMessage
GetTeamModel ( int id ) : TeamModel
GetTeamModel ( string name ) : TeamModel
GetTeamModels ( ) : IEnumerable
PostTeamModel ( TeamModel teammodel ) : HttpResponseMessage
PutTeamModel ( int id, TeamModel teammodel ) : HttpResponseMessage

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

DeleteTeamModel() 공개 메소드

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

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetTeamModel() 공개 메소드

public GetTeamModel ( int id ) : TeamModel
id int
리턴 PlayoffsCreator.Models.TeamModel

GetTeamModel() 공개 메소드

public GetTeamModel ( string name ) : TeamModel
name string
리턴 PlayoffsCreator.Models.TeamModel

GetTeamModels() 공개 메소드

public GetTeamModels ( ) : IEnumerable
리턴 IEnumerable

PostTeamModel() 공개 메소드

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

PutTeamModel() 공개 메소드

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