Flip ITrackService/TrackManager to DTO output; TrackConverter is the sole entity<->DTO path across all consumers

This commit is contained in:
Daniel Harvey
2026-05-25 11:35:04 -04:00
parent 81fc87391b
commit 4351302a25
23 changed files with 156 additions and 156 deletions
+2 -2
View File
@@ -164,8 +164,8 @@ public class CliService
return;
}
// Add track to SQL database
var result = await _webTrackService.Create(trackEntity);
// Add track to SQL database (service layer is DTO-typed)
var result = await _webTrackService.Create(DeepDrftData.TrackConverter.Convert(trackEntity));
if (result.Success && result.Value != null)
{
Console.WriteLine($"✓ Track added successfully!");