diff options
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs new file mode 100644 index 0000000..e0aa433 --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.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 IRamoRepository : IGenericRepository<RamoDb>
+ {
+ void Delete(long id);
+
+ List<Ramo> Find(bool ativo);
+
+ List<Ramo> Find();
+
+ Ramo FindById(long id);
+
+ Ramo Merge(Ramo ramo);
+
+ List<Ramo> MergeRange(List<Ramo> ramos);
+
+ Ramo SaveOrUpdate(Ramo ramo);
+ }
+}
\ No newline at end of file |