using System.Collections.Generic; using System.Threading.Tasks; using API.DTOs; using API.Entities; namespace API.Interfaces { public interface ILibraryRepository { void Update(Library library); Task SaveAllAsync(); Task> GetLibrariesAsync(); Task LibraryExists(string libraryName); Task GetLibraryForIdAsync(int libraryId); bool SaveAll(); Task> GetLibrariesDtoForUsernameAsync(string userName); Task GetLibraryForNameAsync(string libraryName); } }