Example #1
0
 public ReferenceServices(ICountryRepository pCountryRepository, ISectionTypeRepository pSectionTypeRepository, IPhotoOrganisationRepository pPhotoOrganisationRepository, ICircuitRepository pCircuitRepository)
 {
     this._countryRepository           = pCountryRepository;
     this._sectionTypeRepository       = pSectionTypeRepository;
     this._photoOrganisationRepository = pPhotoOrganisationRepository;
     this._circuitRepository           = pCircuitRepository;
 }
Example #2
0
        public void Setup()
        {
            _personRepository            = Substitute.For <IPersonRepository>();
            _photoOrganisationRepository = Substitute.For <IPhotoOrganisationRepository>();
            _sectionTypeRepository       = Substitute.For <ISectionTypeRepository>();

            this.awardService = new PersonAwardService(_personRepository, _photoOrganisationRepository, _sectionTypeRepository);

            Mapping.CreateConfiguration();
        }
Example #3
0
        public void Setup()
        {
            this._countryRepository           = Substitute.For <ICountryRepository>();
            this._sectionTypeRepository       = Substitute.For <ISectionTypeRepository>();
            this._photoOrganisationRepository = Substitute.For <IPhotoOrganisationRepository>();
            this._circuitRepository           = Substitute.For <ICircuitRepository>();

            this.referenceServices = new ReferenceServices(this._countryRepository, this._sectionTypeRepository, this._photoOrganisationRepository, this._circuitRepository);

            Mapping.CreateConfiguration();
        }
Example #4
0
 public PersonAwardService(IPersonRepository pPersonRepository, IPhotoOrganisationRepository pPhotoOrganisationRepository, ISectionTypeRepository pSectionTypeRepository)
 {
     this._personRepository            = pPersonRepository;
     this._photoOrganisationRepository = pPhotoOrganisationRepository;
     this._sectionTypeRepository       = pSectionTypeRepository;
 }