Method | Description | |
---|---|---|
Delete ( IDriver driver ) : OpResult |
Deletes the specified driver.
|
|
DriverDataProvider ( ) : System | ||
GetAll ( ) : IList |
Retrieve all the Drivers.
|
|
GetById ( int id ) : IDriver |
Gets a Driver by the ID.
|
|
GetByName ( string driverName ) : IDriver |
Gets a Driver by their FullName property.
|
|
Save ( IDriver driver ) : OpResult |
Saves a New Driver to the "DB".
|
|
Update ( IDriver driver ) : OpResult |
Updates the an existing Driver.
|
public Delete ( IDriver driver ) : OpResult | ||
driver | IDriver | The driver |
return | OpResult |
public GetById ( int id ) : IDriver | ||
id | int | The ID associated with the Driver. |
return | IDriver |
public GetByName ( string driverName ) : IDriver | ||
driverName | string | The FullName associated with the Driver. |
return | IDriver |
public Save ( IDriver driver ) : OpResult | ||
driver | IDriver | The new Driver. |
return | OpResult |
public Update ( IDriver driver ) : OpResult | ||
driver | IDriver | The updated Driver. |
return | OpResult |