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(); /// /// Checks to see if a library of the same name exists. We only allow unique library names, no duplicates per LibraryType. /// /// /// Task LibraryExists(string libraryName); Task> GetLibrariesForUserAsync(AppUser user); } }