Exemple #1
0
        public async Task <IActionResult> CreateBookmark(SubsonicRequest request, int position, string comment)
        {
            var authResult = await AuthenticateUser(request).ConfigureAwait(false);

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

            return(BuildResponse(request, result));
        }