summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs')
-rw-r--r--Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs
new file mode 100644
index 0000000..d297481
--- /dev/null
+++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.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 ISeguradoraRepository : IGenericRepository<SeguradoraDb>
+ {
+ void Delete(long id);
+
+ List<Seguradora> Find(string filter);
+
+ List<Seguradora> Find(bool ativo);
+
+ List<Seguradora> Find();
+
+ Seguradora FindById(long id);
+
+ Seguradora Merge(Seguradora seguradora);
+
+ Seguradora SaveOrUpdate(Seguradora seguradora);
+ }
+} \ No newline at end of file