C# Class CarManager.Web.Controllers.CarController

Inheritance: ApiController
Exibir arquivo Open project: WebApiContrib/WebApiContrib.Samples

Public Methods

Method Description
CarController ( ) : System.Web.Http
CarController ( ICarRepository repository ) : System.Web.Http
Delete ( [ id ) : void
Get ( [ id ) : CarManager.Data.Car
Put ( [ car ) : void

Method Details

CarController() public method

public CarController ( ) : System.Web.Http
return System.Web.Http

CarController() public method

public CarController ( ICarRepository repository ) : System.Web.Http
repository ICarRepository
return System.Web.Http

Delete() public method

public Delete ( [ id ) : void
id [
return void

Get() public method

public Get ( [ id ) : CarManager.Data.Car
id [
return CarManager.Data.Car

Put() public method

public Put ( [ car ) : void
car [
return void