public SpeciesRepository(IFlatSpeciesRepository flatSpeciesRepository, IFlatSpeciesToSpeciesMapper flatSpeciesMapper, ICoreUserSettings userSettings, IRepresentationInfoRepository representationInfoRepository) { _flatSpeciesRepository = flatSpeciesRepository; _flatSpeciesMapper = flatSpeciesMapper; _userSettings = userSettings; _representationInfoRepository = representationInfoRepository; }
public override void GlobalContext() { base.GlobalContext(); _representationInfoRepository = IoC.Resolve <IRepresentationInfoRepository>(); _parameterRateRepository = IoC.Resolve <IParameterRateRepository>(); _flatSpeciesRepository = IoC.Resolve <IFlatSpeciesRepository>(); _parameterDistributionRepository = IoC.Resolve <IParameterDistributionRepository>(); _populationRepository = IoC.Resolve <IPopulationRepository>(); _populationAgeRepository = IoC.Resolve <IPopulationAgeRepository>(); }