public GetMetricsAggregatedValueQueryHandler(ApplicationDbContext context, ICurrentUserService currentUserService,
                                              IMetricsRetriever metricsRetriever)
 {
     this.context            = context;
     this.currentUserService = currentUserService;
     this.metricsRetriever   = metricsRetriever;
 }
Exemple #2
0
 public GetMetricTimeSeriesQueryHandler(ApplicationDbContext context, ICurrentUserService currentUserService,
                                        IMetricDownSampler metricDownSampler, IMetricsRetriever metricsRetriever)
 {
     this.context            = context;
     this.currentUserService = currentUserService;
     this.metricDownSampler  = metricDownSampler;
     this.metricsRetriever   = metricsRetriever;
 }