using AsbCloudApp.Data; using AsbCloudApp.Services; using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using Mapster; namespace AsbCloudInfrastructure.Services { public class TelemetryDataSpinService : TelemetryDataBaseService { public TelemetryDataSpinService( IAsbCloudDbContext db, ITelemetryService telemetryService, CacheDb cacheDb) : base(db, telemetryService, cacheDb) { } public override TelemetryDataSpin Convert(TelemetryDataSpinDto src) { var entity = src.Adapt(); return entity; } public override TelemetryDataSpinDto Convert(TelemetryDataSpin src) { var dto = src.Adapt(); return dto; } } }