C# Class DriverManager.Models.DriverModel

Inheritance: IDriverModel
Datei anzeigen Open project: smclark/DriverManager Class Usage Examples

Public Methods

Method Description
DeleteDriver ( IDriver driver ) : OpResult
DriverModel ( IDriverDataProvider dataProvider ) : System
GetAllDrivers ( ) : IList
GetDriverByName ( string name ) : IDriver
GetDriverDetails ( int id ) : IDriver
SaveDriver ( IDriver newDriver ) : OpResult
UpdateDriver ( IDriver newDriverDetails ) : OpResult

Method Details

DeleteDriver() public method

public DeleteDriver ( IDriver driver ) : OpResult
driver IDriver
return OpResult

DriverModel() public method

public DriverModel ( IDriverDataProvider dataProvider ) : System
dataProvider IDriverDataProvider
return System

GetAllDrivers() public method

public GetAllDrivers ( ) : IList
return IList

GetDriverByName() public method

public GetDriverByName ( string name ) : IDriver
name string
return IDriver

GetDriverDetails() public method

public GetDriverDetails ( int id ) : IDriver
id int
return IDriver

SaveDriver() public method

public SaveDriver ( IDriver newDriver ) : OpResult
newDriver IDriver
return OpResult

UpdateDriver() public method

public UpdateDriver ( IDriver newDriverDetails ) : OpResult
newDriverDetails IDriver
return OpResult