Renamed the to>Entity Name>() functiuons to toEntity()

ref #76
This commit is contained in:
2021-01-10 16:31:55 +01:00
parent a00231dd3c
commit e6b9d4f273
22 changed files with 25 additions and 25 deletions

View File

@@ -30,7 +30,7 @@ export class CreateTrackScan {
/**
* Creates a new Track entity from this.
*/
public async toScan(): Promise<TrackScan> {
public async toEntity(): Promise<TrackScan> {
let newScan: TrackScan = new TrackScan();
newScan.station = await this.getStation();