From 674ca83ba9243a9e95a7568c797668dab6aee26a Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:35:25 -0300 Subject: feat: upload files --- .../IGenericUnitOfWork.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.UnitOfWork.Generic/IGenericUnitOfWork.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.UnitOfWork.Generic/IGenericUnitOfWork.cs') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.UnitOfWork.Generic/IGenericUnitOfWork.cs b/Gestor.Infrastructure/Gestor.Infrastructure.UnitOfWork.Generic/IGenericUnitOfWork.cs new file mode 100644 index 0000000..a131045 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.UnitOfWork.Generic/IGenericUnitOfWork.cs @@ -0,0 +1,19 @@ +using Gestor.Infrastructure.Repository.Generic; +using System; +using System.Linq; + +namespace Gestor.Infrastructure.UnitOfWork.Generic +{ + public interface IGenericUnitOfWork + { + void Commit(); + + IQueryable Query() + where TEntity : class; + + IGenericRepository Repository() + where TEntity : class; + + void Rollback(); + } +} \ No newline at end of file -- cgit v1.2.3