using Microsoft.AspNetCore.Http; using Roadie.Library; using Roadie.Library.Models.Pagination; using Roadie.Library.Models.Releases; using Roadie.Library.Models.Users; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Roadie.Api.Services { public interface IReleaseService { Task> ById(User roadieUser, Guid id, IEnumerable includes = null); Task> List(User user, PagedRequest request, bool? doRandomize = false, IEnumerable includes = null); Task> MergeReleases(User user, Guid releaseToMergeId, Guid releaseToMergeIntoId, bool addAsMedia); Task> ReleaseZipped(User roadieUser, Guid id); Task> SetReleaseImageByUrl(User user, Guid id, string imageUrl); Task> UpdateRelease(User user, Release release); Task> UploadReleaseImage(User user, Guid id, IFormFile file); } }