namespace FreeTubeSync; public interface IRepository where TEntity : class { Task AddAsync(TEntity entity, CancellationToken ct, bool sync = true); Task UpdateAsync(TEntity entity, CancellationToken ct, bool sync = true); Task DeleteAsync(TEntity entity, CancellationToken ct, bool sync = true); Task GetByIdAsync(string id, CancellationToken ct); Task> GetAllAsync(CancellationToken ct); }