void.cat/VoidCat/Services/Abstractions/IFileInfoManager.cs
2022-03-07 13:38:28 +00:00

14 lines
342 B
C#

using VoidCat.Model;
namespace VoidCat.Services.Abstractions;
/// <summary>
/// Main interface for getting file info to serve to clients.
/// This interface should wrap all stores and return the combined result
/// </summary>
public interface IFileInfoManager
{
ValueTask<PublicVoidFile?> Get(Guid id);
ValueTask Delete(Guid id);
}