C# 클래스 CompareAttributeSample.APIs.CarsController

상속: ApiController
파일 보기 프로젝트 열기: tugberkugurlu/ProWebAPI.Samples

공개 메소드들

메소드 설명
DeleteCar ( int id ) : HttpResponseMessage
Get ( ) : IEnumerable
GetCar ( int id ) : Car
PostCar ( Car car ) : HttpResponseMessage
PutCar ( int id, Car car ) : Car

메소드 상세

DeleteCar() 공개 메소드

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

Get() 공개 메소드

public Get ( ) : IEnumerable
리턴 IEnumerable

GetCar() 공개 메소드

public GetCar ( int id ) : Car
id int
리턴 CompareAttributeSample.Models.Car

PostCar() 공개 메소드

public PostCar ( Car car ) : HttpResponseMessage
car CompareAttributeSample.Models.Car
리턴 System.Net.Http.HttpResponseMessage

PutCar() 공개 메소드

public PutCar ( int id, Car car ) : Car
id int
car CompareAttributeSample.Models.Car
리턴 CompareAttributeSample.Models.Car