C# Class Example.Data.Services.DriverService

Inheritance: DataServiceBase, IDriverService
Show file Open project: IntelliTect-Samples/2016.01-Blog-SelfHostedIntegrationTestingOfODataAndWebApi

Public Methods

Method Description
Create ( Driver newDriver ) : Task
Delete ( Driver delete ) : Task
Find ( int id ) : Task
FindAll ( ) : IQueryable
Update ( Driver updated ) : Task

Method Details

Create() public method

public Create ( Driver newDriver ) : Task
newDriver Example.Data.Models.Driver
return Task

Delete() public method

public Delete ( Driver delete ) : Task
delete Example.Data.Models.Driver
return Task

Find() public method

public Find ( int id ) : Task
id int
return Task

FindAll() public method

public FindAll ( ) : IQueryable
return IQueryable

Update() public method

public Update ( Driver updated ) : Task
updated Example.Data.Models.Driver
return Task