diff options
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs')
| -rw-r--r-- | Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs new file mode 100644 index 0000000..f3bface --- /dev/null +++ b/Codemerx/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 |