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