public ReferenceServices(ICountryRepository pCountryRepository, ISectionTypeRepository pSectionTypeRepository, IPhotoOrganisationRepository pPhotoOrganisationRepository, ICircuitRepository pCircuitRepository) { this._countryRepository = pCountryRepository; this._sectionTypeRepository = pSectionTypeRepository; this._photoOrganisationRepository = pPhotoOrganisationRepository; this._circuitRepository = pCircuitRepository; }
public void Setup() { _personRepository = Substitute.For <IPersonRepository>(); _photoOrganisationRepository = Substitute.For <IPhotoOrganisationRepository>(); _sectionTypeRepository = Substitute.For <ISectionTypeRepository>(); this.awardService = new PersonAwardService(_personRepository, _photoOrganisationRepository, _sectionTypeRepository); Mapping.CreateConfiguration(); }
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(); }
public PersonAwardService(IPersonRepository pPersonRepository, IPhotoOrganisationRepository pPhotoOrganisationRepository, ISectionTypeRepository pSectionTypeRepository) { this._personRepository = pPersonRepository; this._photoOrganisationRepository = pPhotoOrganisationRepository; this._sectionTypeRepository = pSectionTypeRepository; }