using Roadie.Library; using Roadie.Library.Models.Pagination; using Roadie.Library.Models.Playlists; using Roadie.Library.Models.Users; using System; using System.Collections.Generic; using System.Threading.Tasks; using data = Roadie.Library.Data; namespace Roadie.Api.Services { public interface IPlaylistService { Task> AddNewPlaylist(User user, Playlist model); Task> AddTracksToPlaylist(data.Playlist playlist, IEnumerable trackIds); Task> ById(User roadieUser, Guid id, IEnumerable includes = null); Task> DeletePlaylist(User user, Guid id); Task> List(PagedRequest request, User roadieUser = null); Task> ReorderPlaylist(data.Playlist playlist); Task> UpdatePlaylist(User user, Playlist label); Task> UpdatePlaylistTracks(User user, PlaylistTrackModifyRequest request); } }