public HomeController(IWeedService weedService, DefaultStorage defaultStorage, IDistributedCache defaultCache, ILogger <HomeController> logger) : base(defaultStorage, defaultCache, logger) { this.weedService = weedService; if (this.weedService.OnUpload == null) { this.weedService.OnUpload += OnUpload; } }
public DataProvider(IFieldService fieldService, IPestService pestService, IWeedService weedService) { _fieldService = fieldService; _pestService = pestService; _weedService = weedService; }
public WeedController(IWeedService weedService, IMapper mapper) { _weedService = weedService; _mapper = mapper; }