public RecommendationService(ICultureRepository cultureRepository, IFieldRepository fieldRepository, IPesticideRepository pesticideRepository, IPestRepository pestRepository, IWeedRepository weedRepository) { _cultureRepository = cultureRepository; _fieldRepository = fieldRepository; _pesticideRepository = pesticideRepository; _pestRepository = pestRepository; _weedRepository = weedRepository; }
public WeedService(IWeedRepository repository, IMapper mapper) { _repository = repository; _mapper = mapper; }