summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs
new file mode 100644
index 0000000..1b30b68
--- /dev/null
+++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs
@@ -0,0 +1,32 @@
+using Gestor.Infrastructure.Entities.Common;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Domain.Common;
+using Gestor.Model.Domain.Seguros;
+using System;
+using System.Collections.Generic;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IEmpresaRepository : IGenericRepository<EmpresaDb>
+ {
+ string BuscarSenhaAdm(long idempresa = 1L);
+
+ double ConsultaEspacoBancoInGb();
+
+ void Delete(long id);
+
+ List<Empresa> Find(long idempresa = 0L);
+
+ List<Cliente> FindAsCliente(string filter);
+
+ Empresa FindByDocumento(string documento);
+
+ Empresa FindById(long id);
+
+ Empresa FindBySerial(string serial);
+
+ Empresa Merge(Empresa empresa);
+
+ Empresa SaveOrUpdate(Empresa empresa);
+ }
+} \ No newline at end of file