Esempio n. 1
0
        public async Task <IActionResult> GetSongsByGenre(SubsonicRequest request)
        {
            var authResult = await AuthenticateUser(request).ConfigureAwait(false);

            if (authResult != null)
            {
                return(authResult);
            }
            var result = await SubsonicService.GetSongsByGenre(request, SubsonicUser).ConfigureAwait(false);

            return(BuildResponse(request, result, "songsByGenre"));
        }