namespace New.Application.Ports; /// /// Commits everything staged through /// and in one local transaction. In the /// Persistence adapter both ports are backed by the same scoped DbContext, so /// a single SaveChangesAsync call is genuinely atomic across them. /// public interface IUnitOfWork { Task SaveChangesAsync(CancellationToken ct); }