private Mock <LearnerReferenceDataRepositoryService> NewServiceMock( IDbContextFactory <IILR1920_DataStoreEntitiesValid> contextFactory = null, IReferenceDataOptions referenceDataOptions = null, IJsonSerializationService jsonSerializationService = null) { return(new Mock <LearnerReferenceDataRepositoryService>(contextFactory, referenceDataOptions, jsonSerializationService)); }
private DevolvedPostcodesRepositoryService NewService( IDbContextFactory <IPostcodesContext> postcodesContextFactory, IReferenceDataOptions referenceDataOptions = null, IJsonSerializationService jsonSerializationService = null) { return(new DevolvedPostcodesRepositoryService(postcodesContextFactory, referenceDataOptions, jsonSerializationService)); }
private Mock <PostcodesRepositoryService> NewServiceMock( IDbContextFactory <IPostcodesContext> postcodesContextFactory = null, IReferenceDataOptions referenceDataOptions = null, IJsonSerializationService jsonSerializationService = null, IPostcodesEntityModelMapper postcodesEntityModelMapper = null) { return(new Mock <PostcodesRepositoryService>(postcodesContextFactory, referenceDataOptions, jsonSerializationService, postcodesEntityModelMapper ?? new PostcodesEntityModelMapper())); }
public DevolvedPostcodesRepositoryService( IDbContextFactory <IPostcodesContext> postcodesContextFactory, IReferenceDataOptions referenceDataOptions, IJsonSerializationService jsonSerializationService) { _postcodesContextFactory = postcodesContextFactory; _referenceDataOptions = referenceDataOptions; _jsonSerializationService = jsonSerializationService; }
public DesktopPostcodesRepositoryService( IReferenceDataOptions referenceDataOptions, IPostcodesEntityModelMapper postcodesEntityModelMapper, IReferenceDataStatisticsService referenceDataStatisticsService) { _referenceDataOptions = referenceDataOptions; _postcodesEntityModelMapper = postcodesEntityModelMapper; _referenceDataStatisticsService = referenceDataStatisticsService; }
public LearnerReferenceDataRepositoryService( IDbContextFactory <IILR1920_DataStoreEntitiesValid> ilrContextFactory, IReferenceDataOptions referenceDataOptions, IJsonSerializationService jsonSerializationService) { _ilrContextFactory = ilrContextFactory; _referenceDataOptions = referenceDataOptions; _jsonSerializationService = jsonSerializationService; }
public PostcodesRepositoryService( IDbContextFactory <IPostcodesContext> postcodesContextFactory, IReferenceDataOptions referenceDataOptions, IJsonSerializationService jsonSerializationService, IPostcodesEntityModelMapper postcodesEntityModelMapper) { _postcodesContextFactory = postcodesContextFactory; _referenceDataOptions = referenceDataOptions; _jsonSerializationService = jsonSerializationService; _postcodesEntityModelMapper = postcodesEntityModelMapper; }
public ValidationMessagesTransaction(IReferenceDataOptions referenceDataOptions, IIlrReferenceDataRepositoryService ilrReferenceDataRepositoryService, ILogger logger) { _referenceDataOptions = referenceDataOptions; _ilrReferenceDataRepositoryService = ilrReferenceDataRepositoryService; _logger = logger; }
public RepositoryModule(IReferenceDataOptions referenceDataOptions) { _referenceDataOptions = referenceDataOptions; }