Example #1
0
 public void Post(AddToPlaylist request)
 {
     _playlistManager.AddToPlaylist(request.Id, request.Ids.Split(','), request.UserId);
 }
Example #2
0
        public void Post(AddToPlaylist request)
        {
            var task = _playlistManager.AddToPlaylist(request.Id, request.Ids.Split(','));

            Task.WaitAll(task);
        }
Example #3
0
 public void Post(AddToPlaylist request)
 {
     _playlistManager.AddToPlaylist(request.Id, GetGuids(request.Ids), request.UserId);
 }