Interface ILastMovementService
Service to create, get, save and delete last movements of a vehicle.
Assembly: Simplic.Telematic.Core.dll
Syntax
public interface ILastMovementService
Methods
|
Improve this Doc
View Source
CreateAndSave(TelematicInQueueItem)
Creates the last movement from a vehilcle based on the telematic in queue item.
Declaration
bool CreateAndSave(TelematicInQueueItem telematicInQueueItem)
Parameters
Returns
Type |
Description |
System.Boolean |
Whether the item was saved.
|
|
Improve this Doc
View Source
Delete(LastMovement)
Deletes the last movement of a vehicle.
Declaration
bool Delete(LastMovement obj)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Delete(Guid)
Deletes the last movement of a vehilce.
Declaration
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Get(Guid)
Gets the last movement of a vehicle.
Declaration
LastMovement Get(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
|
Improve this Doc
View Source
GetAll()
Gets the last movement of all vehicles.
Declaration
IEnumerable<LastMovement> GetAll()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<LastMovement> |
|
|
Improve this Doc
View Source
Save(LastMovement)
Saves the last movement of a vehicle.
Declaration
bool Save(LastMovement obj)
Parameters
Returns
Type |
Description |
System.Boolean |
|