Initial Commit

Inital Commit of Code base, nothing tested.
This commit is contained in:
Mario Steele 2025-07-19 04:02:09 -05:00
commit 0144221712
31 changed files with 1304 additions and 0 deletions

View file

@ -0,0 +1,10 @@
namespace FreeTubeSync;
public interface IRepository<TEntity> where TEntity : class
{
Task AddAsync(TEntity entity, CancellationToken ct);
Task UpdateAsync(TEntity entity, CancellationToken ct);
Task DeleteAsync(TEntity entity, CancellationToken ct);
Task<TEntity?> GetByIdAsync(string id, CancellationToken ct);
Task<IEnumerable<TEntity>> GetAllAsync(CancellationToken ct);
}