diff options
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs')
| -rw-r--r-- | Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs new file mode 100644 index 0000000..c213cd7 --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs @@ -0,0 +1,23 @@ +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 IVidaRepository : IGenericRepository<VidaDb>
+ {
+ void Delete(long id);
+
+ void DeleteRange(List<long> ids);
+
+ Vida Find(long id);
+
+ Vida FindById(long id);
+
+ Vida Merge(Vida vida);
+
+ Vida SaveOrUpdate(Vida vida);
+ }
+}
\ No newline at end of file |