Пример #1
0
        public IHttpActionResult Get(string title)
        {
            var season = _seasonRepository.GetByTitle(title);

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

            return(Ok(season));
        }