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(); } }