public PositiveFormModel(AppDbContext context, IConfiguration config, ICaseService caseService, ITesterService testerService, IUserService userService, ITestingCentreService testingCentreService) { _CaseService = caseService; _TesterService = testerService; _UserService = userService; _TestingCentreService = testingCentreService; _config = config; CaseForm = new CaseForm(); }
//Resolve dependencies and set initial statistic values public GovHomeModel(IConfiguration config, ICaseService caseService, IContactService contactService, ITracerService tracerService, ITesterService testerService, ITracingCentreService tracingCentreService, ITestingCentreService testingCentreService) { _config = config; _caseService = caseService; _contactService = contactService; _tracerService = tracerService; _testerService = testerService; _tracingCentreService = tracingCentreService; _testingCentreService = testingCentreService; SetStats(); }