public TelemetryRepository(SmartFreezeContext context) { this.collection = context.Database .GetCollection <Telemetry>(nameof(Telemetry)); }
public FreezeRepository(SmartFreezeContext context) { this.collection = context.Database .GetCollection <Freeze>(nameof(Freeze)); }
public AlarmRepository(SmartFreezeContext context) { this.collection = context.Database .GetCollection <Site>(nameof(Site)); }