summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs
new file mode 100644
index 0000000..ea45a75
--- /dev/null
+++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.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 IAtividadeRepository : IGenericRepository<AtividadeDb>
+ {
+ List<Atividade> Find(string filter);
+
+ long FindLastId();
+
+ Atividade Merge(Atividade atividade);
+
+ Atividade SaveOrUpdate(Atividade atividade);
+ }
+} \ No newline at end of file