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