namespace BuildingBlocks.Mongo; public interface IUnitOfWork : IDisposable { Task BeginTransactionAsync(CancellationToken cancellationToken = default); Task CommitAsync(CancellationToken cancellationToken = default); } public interface IUnitOfWork : IUnitOfWork where TContext : class { TContext Context { get; } }