コード例 #1
0
        public IHttpActionResult GetAllTvGenres()
        {
            var tvGenres = _genreManager.GetAllTvGenres();

            return(tvGenres == null ? (IHttpActionResult)NotFound() : Ok(tvGenres));
        }