using Roadie.Library; using Roadie.Library.Models; using Roadie.Library.Models.Pagination; using Roadie.Library.Models.Users; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Roadie.Api.Services { public interface ITrackService { Task GetUserByUserNameAsync(string username); Task> ByIdAsyncAsync(User roadieUser, Guid id, IEnumerable includes); Task> ListAsync(PagedRequest request, User roadieUser, bool? doRandomize = false, Guid? releaseId = null); OperationResult StreamCheckAndInfo(User roadieUser, Guid id); Task> TrackStreamInfoAsync(Guid trackId, long beginBytes, long endBytes, User roadieUser); Task> UpdateTrackAsync(User user, Track track); } }