summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs
new file mode 100644
index 0000000..4eea2ac
--- /dev/null
+++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs
@@ -0,0 +1,31 @@
+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 IClienteTelefoneRepository : IGenericRepository<ClienteTelefoneDb>
+ {
+ void Delete(long id);
+
+ List<ClienteTelefone> DeleteFone(long clienteId, List<ClienteTelefone> telefones);
+
+ List<ClienteTelefone> Find(string telefone, long idempresa = 0L);
+
+ List<ClienteTelefone> FindByClienteId(long id);
+
+ ClienteTelefone FindById(long id);
+
+ List<ClienteTelefone> Inserir(List<ClienteTelefone> telefones);
+
+ List<ClienteTelefone> Inserir(List<ClienteTelefone> telefones, Cliente cliente);
+
+ ClienteTelefone Merge(ClienteTelefone telefone);
+
+ List<ClienteTelefone> Merge(List<ClienteTelefone> telefones, Cliente cliente);
+
+ ClienteTelefone SaveOrUpdate(ClienteTelefone telefone);
+ }
+} \ No newline at end of file