Пример #1
0
        public IHttpActionResult ByWins(int wins)
        {
            var horses = _horseService.GetHorsesByWins(wins);

            if (horses == null)
            {
                return(NotFound());
            }

            return(Ok(horses));
        }