C# Class Example.Controllers.CarsController

Inheritance: ODataController
Show file Open project: IntelliTect-Samples/2016.01-Blog-SelfHostedIntegrationTestingOfODataAndWebApi

Private Properties

Property Type Description
Get IQueryable

Public Methods

Method Description
CarsController ( ICarService carService ) : System.Linq
Delete ( [ key ) : Task
Get ( [ key ) : Task
Post ( Car car ) : Task
Put ( [ key, Car car ) : Task

Private Methods

Method Description
Get ( ) : IQueryable

Method Details

CarsController() public method

public CarsController ( ICarService carService ) : System.Linq
carService ICarService
return System.Linq

Delete() public method

public Delete ( [ key ) : Task
key [
return Task

Get() public method

public Get ( [ key ) : Task
key [
return Task

Post() public method

public Post ( Car car ) : Task
car Example.Data.Models.Car
return Task

Put() public method

public Put ( [ key, Car car ) : Task
key [
car Example.Data.Models.Car
return Task