public async Task <IEnumerable <ConsultantsByProductResource> > GetConsultantsByProducts([FromQuery] GetConsultantsByProductsRequest request) { var resources = await _consultantService.GetConsultantsByProducts (request.StartDate, request.EndDate, request.MinQuantity, request.ProductCode); return(resources); }