Example #1
0
        public async Task <ActionResult> MoveItem(
            [FromRoute, Required] string playlistId,
            [FromRoute, Required] string itemId,
            [FromRoute, Required] int newIndex)
        {
            await _playlistManager.MoveItemAsync(playlistId, itemId, newIndex).ConfigureAwait(false);

            return(NoContent());
        }