summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs')
-rw-r--r--Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs
new file mode 100644
index 0000000..6f32852
--- /dev/null
+++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs
@@ -0,0 +1,19 @@
+using Gestor.Infrastructure.Entities.Common;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Domain.Common;
+using System;
+using System.Collections.Generic;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IProfissaoRepository : IGenericRepository<ProfissaoDb>
+ {
+ List<Profissao> Find(string filter);
+
+ long FindLastId();
+
+ Profissao Merge(Profissao profissao);
+
+ Profissao SaveOrUpdate(Profissao profissao);
+ }
+} \ No newline at end of file