public ReportDetailsQueryHandler( IReportQueryRepository reportRepository, IReporterQueryRepository reporterRepository) { this.reportRepository = reportRepository; this.reporterRepository = reporterRepository; }
public MineReportsQueryHandler( IReportQueryRepository reportRepository, IReporterQueryRepository reporterRepository, ICurrentUser currentUser) : base(reportRepository) { this.currentUser = currentUser; this.reporterRepository = reporterRepository; }
public DeleteReportCommandHandler( ICurrentUser currentUser, IReportQueryRepository reportRepository, IReporterDomainRepository reporterRepository) { this.currentUser = currentUser; this.reportRepository = reportRepository; this.reporterRepository = reporterRepository; }
public ChangeAprovelCommand( ICurrentUser currentUser, IReportQueryRepository reportRepository, IReporterDomainRepository reporterRepository) { this.currentUser = currentUser; this.reportRepository = reportRepository; this.reporterRepository = reporterRepository; }
public void OnGet() { transaction = new TransactionScope(); reportQueriesRepo = new SqlReportQueryRepository(connectionString); transaction.Dispose(); topHeartRates = reportQueriesRepo.RetrieveTopHeartRates(); ratingsByWeather = reportQueriesRepo.RetrieveRatingsByWeather(); sleepDurationCaloriesByRating = reportQueriesRepo.RetrieveSleepDurationCaloriesByRating(); heartRateAndDurationLessThan6Hours = reportQueriesRepo.RetrieveHeartRateAndDurationLessThan6Hours(); }
protected ReportsQueryHandler(IReportQueryRepository reportRepository) => this.reportRepository = reportRepository;
public EditReportCommandValidator(IReportQueryRepository reportRepository) => this.Include(new ReportCommandValidator <EditReportCommand>(reportRepository));
public ReportCommandValidator(IReportQueryRepository reportRepository) { }
public SearchReportsQueryHandler(IReportQueryRepository reportRepository) : base(reportRepository) { }