summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs
new file mode 100644
index 0000000..350e705
--- /dev/null
+++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs
@@ -0,0 +1,27 @@
+using Gestor.Infrastructure.Entities.Seguros;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Domain.Seguros;
+using System;
+using System.Collections.Generic;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IVendedorUsuarioRepository : IGenericRepository<VendedorUsuarioDb>
+ {
+ void Delete(long id);
+
+ bool Exist(long id);
+
+ bool ExistVinculoUsuario(long idUsuario);
+
+ VendedorUsuario FindById(long id);
+
+ IList<Vendedor> FindByUsuario(long idUsuario);
+
+ List<VendedorUsuario> FindByVinculo(long idUsuario);
+
+ VendedorUsuario Merge(VendedorUsuario vendedorUsuario);
+
+ VendedorUsuario SaveOrUpdate(VendedorUsuario vendedorUsuario);
+ }
+} \ No newline at end of file