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

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

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