diff options
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs new file mode 100644 index 0000000..a399178 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs @@ -0,0 +1,25 @@ +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 IClienteVinculoRepository : IGenericRepository<ClienteVinculoDb>
+ {
+ void Delete(long id);
+
+ List<ClienteVinculo> DeleteVinculo(long clienteId, List<ClienteVinculo> vinculos);
+
+ List<ClienteVinculo> FindByCliente(long id);
+
+ ClienteVinculo FindById(long id);
+
+ List<ClienteVinculo> Inserir(List<ClienteVinculo> vinculos, Cliente cliente);
+
+ List<ClienteVinculo> Merge(List<ClienteVinculo> contatos, Cliente cliente);
+
+ ClienteVinculo SaveOrUpdate(ClienteVinculo clienteVinculo);
+ }
+}
\ No newline at end of file |