summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs
new file mode 100644
index 0000000..6f32852
--- /dev/null
+++ b/Codemerx/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