Rebadge the rest of the files
This commit is contained in:
15
src/Imprink.Application/IUnitOfWork.cs
Normal file
15
src/Imprink.Application/IUnitOfWork.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Imprink.Domain.Repositories;
|
||||
|
||||
namespace Imprink.Application;
|
||||
|
||||
public interface IUnitOfWork
|
||||
{
|
||||
public IProductRepository ProductRepository { get; }
|
||||
public ICategoryRepository CategoryRepository { get; }
|
||||
public IProductVariantRepository ProductVariantRepository { get; }
|
||||
|
||||
Task SaveAsync(CancellationToken cancellationToken = default);
|
||||
Task BeginTransactionAsync(CancellationToken cancellationToken = default);
|
||||
Task CommitTransactionAsync(CancellationToken cancellationToken = default);
|
||||
Task RollbackTransactionAsync(CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user