C# Class Example.Controllers.RacesController

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

Private Properties

Property Type Description
Get IQueryable

Public Methods

Method Description
Delete ( [ key ) : Task
Get ( [ key ) : Task
Post ( Race race ) : Task
Put ( [ key, Race race ) : Task
RacesController ( IRaceService raceService ) : System.Linq

Private Methods

Method Description
Get ( ) : IQueryable

Method Details

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 ( Race race ) : Task
race Example.Data.Models.Race
return Task

Put() public method

public Put ( [ key, Race race ) : Task
key [
race Example.Data.Models.Race
return Task

RacesController() public method

public RacesController ( IRaceService raceService ) : System.Linq
raceService IRaceService
return System.Linq