summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs')
-rw-r--r--Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs
new file mode 100644
index 0000000..d8b9200
--- /dev/null
+++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs
@@ -0,0 +1,27 @@
+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 ISaldoRepository : IGenericRepository<SaldoDb>
+ {
+ Saldo BuscarAberto(long id);
+
+ List<Saldo> BuscarPorConta(long id);
+
+ Saldo BuscarPorData(DateTime inicio, long id);
+
+ Saldo BuscarPorMenorData(long id);
+
+ void Delete(long id);
+
+ Saldo FindById(long id);
+
+ Saldo Merge(Saldo saldo);
+
+ Saldo SaveOrUpdate(Saldo saldo);
+ }
+} \ No newline at end of file