public IHttpActionResult ByWins(int wins) { var horses = _horseService.GetHorsesByWins(wins); if (horses == null) { return(NotFound()); } return(Ok(horses)); }
public IHttpActionResult ByWins(int wins) { var horses = _horseService.GetHorsesByWins(wins); if (horses == null) { return(NotFound()); } return(Ok(horses)); }