public IHttpActionResult GetByGenre(string SongGenre)
        {
            SongServices songServices = new SongServices();
            var          song         = songServices.GetSongByGenre(SongGenre);

            return(Ok(song));
        }
        public IHttpActionResult GetArtist(string ArtistName)
        {
            SongServices songServices = new SongServices();
            var          song         = songServices.GetSongByArtistName(ArtistName);

            return(Ok(song));
        }
        public IHttpActionResult Get(int SongId)
        {
            SongServices songServices = new SongServices();
            var          song         = songServices.GetSongById(SongId);

            return(Ok(song));
        }
        public IHttpActionResult GetSongByName(string SongName)
        {
            SongServices songServices = new SongServices();
            var          song         = songServices.GetSongByTitle(SongName);

            return(Ok(song));
        }
        private SongServices CreateSongService()
        {
            var userId       = Guid.Parse(User.Identity.GetUserId());
            var songServices = new SongServices();

            return(songServices);
        }
        public IHttpActionResult Get()
        {
            SongServices songService = CreateSongService();
            var          songs       = songService.GetAllSongs();

            return(Ok(songs));
        }