diff options
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs new file mode 100644 index 0000000..57425d5 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.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 ISeguradoraContatoRepository : IGenericRepository<SeguradoraContatoDb>
+ {
+ void Delete(long id);
+
+ List<SeguradoraContato> FindAssistencia(long empresa, long id);
+
+ SeguradoraContato FindById(long id);
+
+ List<SeguradoraContato> FindBySeguradora(long empresa, long id);
+
+ SeguradoraContato Merge(SeguradoraContato contato);
+
+ List<SeguradoraContato> Merge(List<SeguradoraContato> contatos, Seguradora seguradora, long empresa);
+
+ SeguradoraContato SaveOrUpdate(SeguradoraContato contato);
+ }
+}
\ No newline at end of file |