summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs')
-rw-r--r--Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs
new file mode 100644
index 0000000..f3bface
--- /dev/null
+++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs
@@ -0,0 +1,25 @@
+using Gestor.Infrastructure.Entities.Ferramentas;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Domain.Ferramentas;
+using System;
+using System.Collections.Generic;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IAgendaRepository : IGenericRepository<AgendaDb>
+ {
+ void Delete(long id);
+
+ List<Agenda> Find(string value);
+
+ List<Agenda> Find();
+
+ Agenda FindById(long id);
+
+ List<Agenda> FindByName(string filter);
+
+ Agenda Merge(Agenda agenda);
+
+ Agenda SaveOrUpdate(Agenda agenda);
+ }
+} \ No newline at end of file