C# Class CarManager.Web.Controllers.CarsController

Inheritance: ApiController
Mostra file Open project: WebApiContrib/WebApiContrib.Samples

Public Methods

Method Description
CarsController ( ) : System
CarsController ( ICarRepository repository ) : System

Private Methods

Method Description
Fastest ( ) : IEnumerable
Get ( ) : IEnumerable
MostExpensive ( ) : IEnumerable
Post ( CarManager.Data.Car car ) : HttpResponseMessage
WithWarranty ( ) : IEnumerable

Method Details

CarsController() public method

public CarsController ( ) : System
return System

CarsController() public method

public CarsController ( ICarRepository repository ) : System
repository ICarRepository
return System