public async Task <IActionResult> Get([FromQuery] BrowsePesticides query)
 {
     return(Collection(await _pesticideService.BrowseAsync(query)));
 }
        public async Task <List <PesticideDto> > BrowseAsync(BrowsePesticides query)
        {
            var list = await _repository.BrowseAsync(p => true);

            return(_mapper.Map <List <PesticideDto> >(list));
        }