public PupilService(IDocumentRepository documentRepository, IDataService dataService, IEstablishmentService schoolService, IAllocationYearConfig year) { _documentRepository = documentRepository; _dataService = dataService; _schoolService = schoolService; _allocationYear = year.Value; }
public RemovePupilAdmittedFromAbroadRule(IDataService dataService, IAllocationYearConfig config, IEstablishmentService establishmentService) { _dataService = dataService; _establishmentService = establishmentService; _config = config; }
public StatementsController(ILogger <StatementsController> logger, IReleasesService releasesService, IEstablishmentService establishmentService, IControllerMessages responseMessages) { this.logger = logger; this.releasesService = releasesService; this.establishmentService = establishmentService; this.responseMessages = responseMessages; this.httpResponseHelper = new HttpResponseFormat(); }
public EstablishmentsController(ILogger <EstablishmentsController> logger, IEstablishmentService establishmentService, IControllerMessages responseMessages, IRabbitConnector rabbitConnector) { this.logger = logger; this.establishmentService = establishmentService; this.responseMessages = responseMessages; this.rabbitConnector = rabbitConnector; this.httpResponseHelper = new HttpResponseFormat(); }
public RegisterService( IMongoRepository mongoRepository, IEstablishmentService establishmentService, ILoginService loginService ) { this.MongoRepository = mongoRepository; this.EstablishmentService = establishmentService; this.LoginService = loginService; }
public CrmAmendmentService( IOrganizationService organizationService, IEstablishmentService establishmentService, DynamicsOptions dynamicsOptions, IEnumerable <IAmendmentBuilder> amendmentBuilders) { _establishmentService = establishmentService; _amendmentBuilders = amendmentBuilders; _organizationService = organizationService; _sharePointDocumentLocationRecordId = dynamicsOptions.SharePointDocumentLocationRecordId; }
public DatabaseSettingsFixture() { var mockDatabaseSettings = new Mock <IDatabaseConnectorSettings>(); mockDatabaseSettings.SetupGet(mi => mi.DatabaseName).Returns("extratos-api-statementsDB-test"); mockDatabaseSettings.SetupGet(mi => mi.ConnectionString).Returns("mongodb+srv://rw-permission-user:[email protected]/?ssl=true&authSource=admin&w=majority"); mockDatabaseSettings.SetupGet(mi => mi.CollectionName).Returns(""); this.dbSettings = mockDatabaseSettings.Object; this.establishmentService = new EstablishmentService(dbSettings); this.releasesService = new ReleasesService(dbSettings); }
public StatementsServiceTests(DatabaseSettingsFixture dbFixture) { // 0: Setting wrapper for logger loggerWrapper = new LoggerWrapper <StatementsController>(); rabbitConnector = new RabbitConnectorWrapper(); // 1: Setting establishment and releases service given db settings this.dbSettings = dbFixture.dbSettings; this.establishmentService = dbFixture.establishmentService; this.releasesService = dbFixture.releasesService; // 2: Get controller messages this.controllerMessages = GetControllerMessagesProperties(); // 3: Instantiate of Establishment Controller this.statementsController = new StatementsController(loggerWrapper, releasesService, establishmentService, controllerMessages); }
public EstablishmentServiceTests() { _service = new EstablishmentService(); }
public PupilController(IPupilService pupilService, IEstablishmentService establishmentService, UserInfo userInfo) : base(userInfo) { _pupilService = pupilService; _establishmentService = establishmentService; }
public EstablishmentController(IEstablishmentService establishmentService, IConfiguration configuration) { _establishmentService = establishmentService; _configuration = configuration; }
public SchoolController( IEstablishmentService establishmentService, IConfiguration configuration, UserInfo userInfo) : base(userInfo) { _establishmentService = establishmentService; }
public RemovePupilDualRegistration(IEstablishmentService establishmentService) { _establishmentService = establishmentService; }
public CachedSchoolService(IRedisCache cache, IEstablishmentService establishmentService, IClient apiClient) { _cache = cache; _schoolService = new SchoolService(establishmentService, apiClient); }
public HomeController(IEstablishmentService establishment) { _establishment = establishment; }
public DeleteEstablishmentEventHandler(IConfiguration configuration, IEstablishmentService establishmentService, IRabbitConnector rabbitConnector) { this.configuration = configuration; this.establishmentService = establishmentService; this.rabbitConnector = rabbitConnector; }
public NewsService(IUnitOfWork unitOfWork, IEstablishmentService establishmentService, IMapper mapper) { _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); _establishmentService = establishmentService ?? throw new ArgumentNullException(nameof(establishmentService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public ApiProxyController(IEstablishmentService establishmentService, IGeocodingService geocodingService) { _establishmentService = establishmentService; _geocodingService = geocodingService; }
public RemovePupilOtherEalExceptionalCircumstances(IDataService dataService, IAllocationYearConfig config, IEstablishmentService establishmentService) { _dataService = dataService; _establishmentService = establishmentService; _config = config; }
public EstablishmentController(IEstablishmentService establishmentService) { this.establishmentService = establishmentService; }
public EstablishmentsController(IEstablishmentService establishmentService) { _establishmentService = establishmentService; }
public EstablishmentController(IEstablishmentService _establishmentService) { this._establishmentService = _establishmentService; }
public CachedEstablishmentService(IRedisCache cache, IClient client) { _cache = cache; _establishmentService = new EstablishmentService(client); }
public EstablishmentController(IEstablishmentService establishmentService, IMapper mapper) { _establishmentService = establishmentService; _mapper = mapper; }
public RemovePupilAdmittedFollowingPermanentExclusion(IEstablishmentService establishmentService) { _establishmentService = establishmentService; }
public EstablishmentAppService(IEstablishmentService establishmentService) : base(establishmentService) { _establishmentService = establishmentService; }
public ManagementController(IEstablishmentService establishmentService) { _establishmentService = establishmentService; }
public EstablishmentsController(IEstablishmentService establishmentService) { _establishmentService = establishmentService ?? throw new ArgumentNullException(nameof(establishmentService)); }
public EstablishmentController(IEstablishmentService establishmentService, IUserService userService) { this.establishmentService = establishmentService; this.userService = userService; }
public SchoolService(IEstablishmentService establishmentService, IClient apiClient) { _apiClient = apiClient; _establishmentService = establishmentService; }
public LocationAwareEstablishment(IEstablishmentService establishmentService, IMapper mapper) { _establishmentService = establishmentService; _mapper = mapper; }
public EstablishmentController(IEstablishmentService establishmentService, INitaqatService nitaqatService) { _establishmentService = establishmentService; _nitaqatService = nitaqatService; }