コード例 #1
0
 public RecommendationService(ICultureRepository cultureRepository, IFieldRepository fieldRepository, IPesticideRepository pesticideRepository, IPestRepository pestRepository, IWeedRepository weedRepository)
 {
     _cultureRepository   = cultureRepository;
     _fieldRepository     = fieldRepository;
     _pesticideRepository = pesticideRepository;
     _pestRepository      = pestRepository;
     _weedRepository      = weedRepository;
 }
コード例 #2
0
 public WeedService(IWeedRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }