using Microsoft.AspNetCore.Http; using Roadie.Library; using Roadie.Library.Identity; 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 ILabelService { Task> ById(User roadieUser, Guid id, IEnumerable includes = null); Task> List(User roadieUser, PagedRequest request, bool? doRandomize = false); Task> Delete(ApplicationUser user, Guid id); Task> MergeLabelsIntoLabel(ApplicationUser user, Guid intoLabelId, IEnumerable labelIdsToMerge); Task> SetLabelImageByUrl(User user, Guid id, string imageUrl); Task> UpdateLabel(User user, Label label); Task> UploadLabelImage(User user, Guid id, IFormFile file); } }