public IHttpActionResult GetAtheletesByCoachAdultos(int id) { List <AthleteDTO> atheletesFinded; try { atheletesFinded = atheleteService.atheletesByCoachIdSubAge(id, 30, 150); } catch (Exception e) { return(ResponseMessage(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, e.ToString()))); } return(Ok(atheletesFinded)); }