public TraineeshipApplicationRepository(IConfigurationService configurationService, IMapper mapper, ILogService logger)
        {
            var config = configurationService.Get <MongoConfiguration>();

            Initialise(config.ApplicationsDb, "traineeships");
            _mapper = mapper;
            _logger = logger;
            _commonApplicationRepository = new CommonApplicationRepository(logger, Collection);
        }
        public ApprenticeshipApplicationRepository(IConfigurationService configurationService, IMapper mapper, ILogService logger, IDateTimeService dataTimeService)
        {
            var config = configurationService.Get <MongoConfiguration>();

            Initialise(config.ApplicationsDb, "apprenticeships");
            _mapper                      = mapper;
            _logger                      = logger;
            _dataTimeService             = dataTimeService;
            _commonApplicationRepository = new CommonApplicationRepository(logger, Collection);
        }