public HomeController(ILogger <HomeController> logger, AntrenamentService antrenamentService, ReportDbContext context) { _logger = logger; _antrenamentService = antrenamentService; _context = context; // Refresh Status for each not Finalised Abonament _antrenamentService.RefreshStatusAbonamentsActive(_context); }
public ReportsController(ReportDbContext context, AntrenamentService antrenamentService, ReportService reportService) { _context = context; _antrenamentService = antrenamentService; _reportService = reportService; }
public AppAntrenamentController(ReportDbContext context, AntrenamentService antrenamentService) { _context = context; _antrenamentService = antrenamentService; }