Exemplo n.º 1
0
        public IHttpActionResult GetAllMusicGenres()
        {
            var musicGenres = _genreManager.GetAllMusicGenres();

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