namespace NexusReader.Application.Abstractions.Services; /// /// Service for managing ebook and cover file storage. /// public interface IBookStorageService { /// /// Saves an ebook file and returns its relative path/URL. /// Task SaveEbookAsync(byte[] data, string fileName); /// /// Saves an ebook file using a stream and returns its relative path/URL. /// Task SaveEbookAsync(Stream data, string fileName); /// /// Saves a cover image and returns its relative path/URL. /// Returns null if no cover data is provided. /// Task SaveCoverAsync(byte[] data, string fileName); /// /// Saves a cover image using a stream and returns its relative path/URL. /// Returns null if no cover data is provided. /// Task SaveCoverAsync(Stream data, string fileName); }