working customer post, get and delete

This commit is contained in:
2023-06-07 14:47:00 +02:00
parent ad998e0499
commit c805ce20a8
26 changed files with 448 additions and 142 deletions

View File

@@ -0,0 +1,19 @@
using AB.Domain.Repositories;
namespace AB.Persistence.Repos;
public class UnitOfWork : IUnitOfWork
{
private readonly RepoDbContext _dbContext;
public UnitOfWork(RepoDbContext dbContext)
{
_dbContext = dbContext;
}
public Task<int> SaveChangesAsync(CancellationToken cancellationToken)
{
return _dbContext.SaveChangesAsync(cancellationToken);
}
}