C# 클래스 PlayoffsCreator.Controllers.PlayerAPIController

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

공개 메소드들

메소드 설명
DeletePlayerModel ( int id ) : HttpResponseMessage
GetPlayerModel ( int id ) : PlayerModel
GetPlayerModel ( string name ) : PlayerModel
GetPlayerModels ( ) : IEnumerable
PostPlayerModel ( PlayerModel playermodel ) : HttpResponseMessage
PutPlayerModel ( int id, PlayerModel playermodel ) : HttpResponseMessage

보호된 메소드들

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

메소드 상세

DeletePlayerModel() 공개 메소드

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

Dispose() 보호된 메소드

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

GetPlayerModel() 공개 메소드

public GetPlayerModel ( int id ) : PlayerModel
id int
리턴 PlayoffsCreator.Models.PlayerModel

GetPlayerModel() 공개 메소드

public GetPlayerModel ( string name ) : PlayerModel
name string
리턴 PlayoffsCreator.Models.PlayerModel

GetPlayerModels() 공개 메소드

public GetPlayerModels ( ) : IEnumerable
리턴 IEnumerable

PostPlayerModel() 공개 메소드

public PostPlayerModel ( PlayerModel playermodel ) : HttpResponseMessage
playermodel PlayoffsCreator.Models.PlayerModel
리턴 System.Net.Http.HttpResponseMessage

PutPlayerModel() 공개 메소드

public PutPlayerModel ( int id, PlayerModel playermodel ) : HttpResponseMessage
id int
playermodel PlayoffsCreator.Models.PlayerModel
리턴 System.Net.Http.HttpResponseMessage