summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs
new file mode 100644
index 0000000..322e62e
--- /dev/null
+++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs
@@ -0,0 +1,20 @@
+using Gestor.Infrastructure.Entities.Seguros;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Domain.Seguros;
+using System;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface ISinistroVidaRepository : IGenericRepository<SinistroVidaDb>
+ {
+ void Delete(long id);
+
+ SinistroVida FindById(long id);
+
+ SinistroVida FindBySinistroId(long id);
+
+ SinistroVida Merge(SinistroVida sinistroVida);
+
+ SinistroVida SaveOrUpdate(SinistroVida sinistroVida);
+ }
+} \ No newline at end of file