using System.Collections.Generic; using System.Threading.Tasks; using API.DTOs; using API.Entities; namespace API.Interfaces { public interface ILibraryRepository { void Add(Library library); void Update(Library library); Task> GetLibraryDtosAsync(); Task LibraryExists(string libraryName); Task GetLibraryForIdAsync(int libraryId); Task GetFullLibraryForIdAsync(int libraryId); Task> GetLibraryDtosForUsernameAsync(string userName); Task> GetLibrariesAsync(); Task DeleteLibrary(int libraryId); Task> GetLibrariesForUserIdAsync(int userId); } }