コード例 #1
0
 public SpeciesService(
     ILogger <ISpeciesRepository> logger,
     ISpeciesRepository speciesRepository,
     IApiSpeciesRequestModelValidator speciesModelValidator,
     IBOLSpeciesMapper bolspeciesMapper,
     IDALSpeciesMapper dalspeciesMapper,
     IBOLBreedMapper bolBreedMapper,
     IDALBreedMapper dalBreedMapper)
     : base(logger,
            speciesRepository,
            speciesModelValidator,
            bolspeciesMapper,
            dalspeciesMapper,
            bolBreedMapper,
            dalBreedMapper)
 {
 }
コード例 #2
0
 public AbstractSpeciesService(
     ILogger logger,
     ISpeciesRepository speciesRepository,
     IApiSpeciesRequestModelValidator speciesModelValidator,
     IBOLSpeciesMapper bolSpeciesMapper,
     IDALSpeciesMapper dalSpeciesMapper,
     IBOLPetMapper bolPetMapper,
     IDALPetMapper dalPetMapper)
     : base()
 {
     this.speciesRepository     = speciesRepository;
     this.speciesModelValidator = speciesModelValidator;
     this.bolSpeciesMapper      = bolSpeciesMapper;
     this.dalSpeciesMapper      = dalSpeciesMapper;
     this.bolPetMapper          = bolPetMapper;
     this.dalPetMapper          = dalPetMapper;
     this.logger = logger;
 }