public DeviceController(TermoHubContext context, ILastValues lastValues, IAuthorizationService authorization) { this.context = context; this.lastValues = lastValues; this.authorization = authorization; }
public ApiController(TermoHubContext context, ILastValues lastValues, IAlertReporter alertReporter) { this.context = context; this.lastValues = lastValues; this.alertReporter = alertReporter; }
public AlertReporter(IOptions <ReporterOptions> options, TermoHubContext context, IEmailSender emailSender) { this.options = options.Value; this.context = context; this.emailSender = emailSender; }