public IActionResult LinkedExhibitors(HorseExhibitorRequest horseExhibitorRequest) { _mainResponse = _horseService.LinkedExhibitors(horseExhibitorRequest); _jsonString = Mapper.Convert <GetAllLinkedExhibitors>(_mainResponse); return(new OkObjectResult(_jsonString)); }