public IHttpActionResult GetAllTvGenres() { var tvGenres = _genreManager.GetAllTvGenres(); return(tvGenres == null ? (IHttpActionResult)NotFound() : Ok(tvGenres)); }