C# Class InvalidModelStateFilterSample.APIs.CarsController

Inheritance: ApiController
Exibir arquivo Open project: tugberkugurlu/AdvancedWebAPI

Public Methods

Method Description
DeleteCar ( int id ) : HttpResponseMessage
Get ( ) : IEnumerable
GetCar ( int id ) : Car
PostCar ( Car car ) : HttpResponseMessage
PutCar ( int id, Car car ) : Car

Method Details

DeleteCar() public method

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

Get() public method

public Get ( ) : IEnumerable
return IEnumerable

GetCar() public method

public GetCar ( int id ) : Car
id int
return InvalidModelStateFilterSample.Models.Car

PostCar() public method

public PostCar ( Car car ) : HttpResponseMessage
car InvalidModelStateFilterSample.Models.Car
return System.Net.Http.HttpResponseMessage

PutCar() public method

public PutCar ( int id, Car car ) : Car
id int
car InvalidModelStateFilterSample.Models.Car
return InvalidModelStateFilterSample.Models.Car