C# Class ActionFilters.APIs.CarsController

Inheritance: ApiController
Mostra file Open project: tugberkugurlu/ProWebAPI.Samples

Public Methods

Method Description
GetCar ( int id ) : Car
GetCars ( ) : IEnumerable

Private Methods

Method Description
PostCar ( Car car ) : HttpResponseMessage

Method Details

GetCar() public method

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

GetCars() public method

public GetCars ( ) : IEnumerable
return IEnumerable