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