diff options
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs')
| -rw-r--r-- | Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs new file mode 100644 index 0000000..61f5fe1 --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs @@ -0,0 +1,27 @@ +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 IControleSinistroRepository : IGenericRepository<ControleSinistroDb>
+ {
+ void Delete(long id);
+
+ void DeleteByItem(long id);
+
+ void DeleteRange(List<long> ids);
+
+ ControleSinistro FindById(long id);
+
+ List<ControleSinistro> FindByIdItem(long id);
+
+ bool HasSinistro(long id);
+
+ ControleSinistro Merge(ControleSinistro controle);
+
+ ControleSinistro SaveOrUpdate(ControleSinistro controle);
+ }
+}
\ No newline at end of file |