Files
monorepo/LCU.API.Internal.RepoApi/LCU.API.Internal.RepoApi.Repos/Repositories/UnitOfWork.cs
T
2026-03-13 09:27:34 -05:00

20 lines
425 B
C#

using LCU.API.Internal.RepoApi.Repos.Persistence;
namespace LCU.API.Internal.RepoApi.Repos.Repositories
{
public class UnitOfWork : IUnitOfWork
{
private readonly AppDbContext _context;
public UnitOfWork(AppDbContext context)
{
_context = context;
}
public async Task CompleteAsync()
{
await _context.SaveChangesAsync();
}
}
}