C# 클래스 DataAnnotationValidationAttributesSample.APIs.CarsController

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

공개 메소드들

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

메소드 상세

Get() 공개 메소드

public Get ( ) : IEnumerable
리턴 IEnumerable

PostCar() 공개 메소드

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

PutCar() 공개 메소드

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