From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- .../IAdiantamentoRepository.cs | 31 ---------- .../IAeronauticoRepository.cs | 23 ------- .../IAgendaEmailRepository.cs | 29 --------- .../IAgendaRepository.cs | 25 -------- .../IAgendaTelefoneRepository.cs | 29 --------- .../IAtividadeRepository.cs | 19 ------ .../IAtualizacaoRepository.cs | 11 ---- .../IAutoRepository.cs | 31 ---------- .../IBancoRepository.cs | 23 ------- .../IBancosContasRepository.cs | 23 ------- .../ICategoriaTarefaRepository.cs | 18 ------ .../ICentroRepository.cs | 19 ------ .../IClienteEmailRepository.cs | 31 ---------- .../IClienteEnderecoRepository.cs | 29 --------- .../IClienteRepository.cs | 72 ---------------------- .../IClienteTelefoneRepository.cs | 31 ---------- .../IClienteVinculoRepository.cs | 25 -------- .../ICoberturaGranizoRepository.cs | 21 ------- .../ICoberturaPadraoRepository.cs | 23 ------- .../ICoberturaRepository.cs | 29 --------- .../ICondicaoRepasseRepository.cs | 18 ------ .../IConfigExtratoImportRepository.cs | 27 -------- .../IConfiguracaoRepository.cs | 22 ------- .../IConsorcioRepository.cs | 23 ------- .../IControleFinanceiroRepository.cs | 21 ------- .../IControleRepository.cs | 23 ------- .../IControleSinistroRepository.cs | 27 -------- .../ICredencialRepository.cs | 23 ------- .../ICriticaApoliceRepository.cs | 33 ---------- .../IDetalheExtratoRepository.cs | 25 -------- .../IDocumentoRepository.cs | 68 -------------------- .../IEmpresaRepository.cs | 32 ---------- .../IEstipulanteRepository.cs | 23 ------- .../IExpedicaoRepository.cs | 19 ------ .../IExtratoRepository.cs | 31 ---------- .../IFabricanteRepository.cs | 23 ------- .../IFornecedorRepository.cs | 23 ------- .../IGranizoRepository.cs | 23 ------- .../IImpostoRepository.cs | 23 ------- .../IIndiceArquivoDigitalRepository.cs | 34 ---------- .../IItemRepository.cs | 44 ------------- .../ILancamentoRepository.cs | 55 ----------------- .../IMaisContatoRepository.cs | 27 -------- .../IMetaSeguradoraRepository.cs | 24 -------- .../IMetaVendedorRepository.cs | 24 -------- .../IModeloMalaDiretaRepository.cs | 21 ------- .../INotaFiscalRepository.cs | 24 -------- .../IParametrosRelatorioRepository.cs | 20 ------ .../IParametrosTotalizacaoRepository.cs | 20 ------ .../IParceiroRepository.cs | 25 -------- .../IParcelaRepository.cs | 67 -------------------- .../IPatrimonialRepository.cs | 29 --------- .../IPerfilEmpresaRepository.cs | 20 ------ .../IPerfilRepository.cs | 23 ------- .../IPermissaoArquivoDigitalRepository.cs | 18 ------ .../IPermissaoUsuarioRepository.cs | 18 ------ .../IPlanoRepository.cs | 19 ------ .../IPlanosRepository.cs | 23 ------- .../IProdutoRepository.cs | 23 ------- .../IProfissaoRepository.cs | 19 ------ .../IProspectRepository.cs | 35 ----------- .../IQualificacaoRepository.cs | 16 ----- .../IRamoRepository.cs | 25 -------- .../IReciboRepository.cs | 23 ------- .../IRegistroAcaoRepository.cs | 25 -------- .../IRegistroLogRepository.cs | 41 ------------ .../IRepasseRepository.cs | 33 ---------- .../IReportRepository.cs | 16 ----- .../IRestricaoUsuarioCamposRelatoriosRepository.cs | 15 ----- .../IRestricaoUsuarioRepository.cs | 18 ------ .../IRiscosDiversosRepository.cs | 23 ------- .../ISaldoRepository.cs | 27 -------- .../ISeguradoraContatoRepository.cs | 25 -------- .../ISeguradoraEnderecoRepository.cs | 23 ------- .../ISeguradoraRepository.cs | 25 -------- .../ISinistroAutoRepository.cs | 22 ------- .../ISinistroRepository.cs | 30 --------- .../ISinistroVidaRepository.cs | 20 ------ .../ISocioRepository.cs | 23 ------- .../IStatusProspeccaoRepository.cs | 16 ----- .../IStatusRepository.cs | 23 ------- .../ITarefaRepository.cs | 69 --------------------- .../ITipoContaRepository.cs | 16 ----- .../ITipoTarefaRepository.cs | 16 ----- .../ITipoVendedorRepository.cs | 29 --------- .../ITitularesVidaRepository.cs | 23 ------- .../IUsuarioRepository.cs | 41 ------------ .../IVendedorParcelaRepository.cs | 45 -------------- .../IVendedorRepository.cs | 27 -------- .../IVendedorTelefoneRepository.cs | 27 -------- .../IVendedorUsuarioRepository.cs | 27 -------- .../IVidaRepository.cs | 23 ------- .../IVinculoDocumentoRepository.cs | 25 -------- 93 files changed, 2498 deletions(-) delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAdiantamentoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAeronauticoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaEmailRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaTelefoneRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtualizacaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancosContasRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICategoriaTarefaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICentroRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEmailRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEnderecoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaGranizoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaPadraoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICondicaoRepasseRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfigExtratoImportRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfiguracaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConsorcioRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleFinanceiroRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICredencialRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICriticaApoliceRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDetalheExtratoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEstipulanteRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExpedicaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExtratoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFabricanteRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFornecedorRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IGranizoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IImpostoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IIndiceArquivoDigitalRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ILancamentoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMaisContatoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaSeguradoraRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaVendedorRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IModeloMalaDiretaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/INotaFiscalRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosRelatorioRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosTotalizacaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParceiroRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParcelaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPatrimonialRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilEmpresaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoArquivoDigitalRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanosRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProdutoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProspectRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IQualificacaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReciboRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroAcaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroLogRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRepasseRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReportRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioCamposRelatoriosRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRiscosDiversosRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraEnderecoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroAutoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusProspeccaoRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITarefaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoContaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoTarefaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoVendedorRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITitularesVidaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IUsuarioRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorParcelaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorTelefoneRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVinculoDocumentoRepository.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAdiantamentoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAdiantamentoRepository.cs deleted file mode 100644 index 75da0da..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAdiantamentoRepository.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IAdiantamentoRepository : IGenericRepository - { - List AddRange(List adiantamentos); - - List BuscarAdiantamentos(long id, bool concluido = false); - - void Delete(long id); - - List Find(bool ativo); - - List Find(long id); - - List Find(string nome); - - List FindByDate(DateTime filtroInicio, DateTime filtroFim, List vendedores = null, bool segundavia = false); - - Adiantamento FindById(long id); - - Adiantamento Merge(Adiantamento adiantamento); - - Adiantamento SaveOrUpdate(Adiantamento adiantamento); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAeronauticoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAeronauticoRepository.cs deleted file mode 100644 index f2c1849..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAeronauticoRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IAeronauticoRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - Aeronautico Find(long id); - - Aeronautico FindById(long id); - - Aeronautico Merge(Aeronautico aeronautico); - - Aeronautico SaveOrUpdate(Aeronautico aeronautico); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaEmailRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaEmailRepository.cs deleted file mode 100644 index 6e4ffa1..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaEmailRepository.cs +++ /dev/null @@ -1,29 +0,0 @@ -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 IAgendaEmailRepository : IGenericRepository - { - void Delete(long id); - - List FindByAgenda(List ids); - - List FindByAgendaId(long id); - - AgendaEmail FindById(long id); - - List FindEmailAgenda(string email); - - List Inserir(List emails, Agenda agenda); - - AgendaEmail Merge(AgendaEmail agendaEmail); - - List Merge(List emails, Agenda agenda); - - AgendaEmail SaveOrUpdate(AgendaEmail agendaEmail); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs deleted file mode 100644 index f3bface..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -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 - { - void Delete(long id); - - List Find(string value); - - List Find(); - - Agenda FindById(long id); - - List FindByName(string filter); - - Agenda Merge(Agenda agenda); - - Agenda SaveOrUpdate(Agenda agenda); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaTelefoneRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaTelefoneRepository.cs deleted file mode 100644 index 809c6f9..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaTelefoneRepository.cs +++ /dev/null @@ -1,29 +0,0 @@ -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 IAgendaTelefoneRepository : IGenericRepository - { - void Delete(long id); - - List Find(string telefone); - - List FindByAgendaId(long id); - - AgendaTelefone FindById(long id); - - List Inserir(List telefones); - - List Inserir(List telefones, Agenda agenda); - - AgendaTelefone Merge(AgendaTelefone telefone); - - List Merge(List telefones, Agenda agenda); - - AgendaTelefone SaveOrUpdate(AgendaTelefone telefone); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs deleted file mode 100644 index ea45a75..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtividadeRepository.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Common; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IAtividadeRepository : IGenericRepository - { - List Find(string filter); - - long FindLastId(); - - Atividade Merge(Atividade atividade); - - Atividade SaveOrUpdate(Atividade atividade); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtualizacaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtualizacaoRepository.cs deleted file mode 100644 index 3d37a87..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAtualizacaoRepository.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IAtualizacaoRepository - { - long FindLastUpdate(); - - void Save(long fileId); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs deleted file mode 100644 index c77221a..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Common; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IAutoRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - Auto Find(long id); - - List FindAuto(string pesquisa, FiltroStatusDocumento status, List vendedorVinculado, TipoPesquisa tipo, bool tipobusca = false); - - Documento FindByChassi(string chassi, long id, DateTime vigencia1, DateTime? vigencia2, long idSeguradora); - - Auto FindById(long id); - - string FindChassi(long id); - - Auto Merge(Auto auto); - - Auto SaveOrUpdate(Auto auto); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancoRepository.cs deleted file mode 100644 index 3cc18b7..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancoRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Common; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IBancoRepository : IGenericRepository - { - void Delete(long id); - - List Find(string filter); - - Banco FindById(long id); - - Banco Merge(Banco banco); - - Banco SaveOrUpdate(Banco banco); - - List SelectDefault(); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancosContasRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancosContasRepository.cs deleted file mode 100644 index 4dde7eb..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IBancosContasRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -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 IBancosContasRepository : IGenericRepository - { - void Delete(long id); - - List Find(string descricao); - - List Find(); - - BancosContas FindById(long id); - - BancosContas Merge(BancosContas bancosContas); - - BancosContas SaveOrUpdate(BancosContas bancosContas); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICategoriaTarefaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICategoriaTarefaRepository.cs deleted file mode 100644 index 9350ddf..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICategoriaTarefaRepository.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Ferramentas; -using System; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ICategoriaTarefaRepository : IGenericRepository - { - void Delete(long id); - - CategoriaTarefa FindById(long id); - - CategoriaTarefa Merge(CategoriaTarefa categoriaTarefa); - - CategoriaTarefa SaveOrUpdate(CategoriaTarefa categoriaTarefa); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICentroRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICentroRepository.cs deleted file mode 100644 index fe55492..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICentroRepository.cs +++ /dev/null @@ -1,19 +0,0 @@ -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 - { - List Find(string descricao); - - List Find(); - - Centro Merge(Centro centro); - - Centro SaveOrUpdate(Centro centro); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEmailRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEmailRepository.cs deleted file mode 100644 index d14e969..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEmailRepository.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IClienteEmailRepository : IGenericRepository - { - void Delete(long id); - - List DeleteMail(long clienteId, List emails); - - List FindByCliente(List ids); - - List FindByClienteId(long id); - - ClienteEmail FindById(long id); - - List FindEmailCliente(string email, long idempresa = 0L); - - List Inserir(List emails, Cliente cliente); - - ClienteEmail Merge(ClienteEmail clienteEmail); - - List Merge(List emails, Cliente cliente); - - ClienteEmail SaveOrUpdate(ClienteEmail clienteEmail); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEnderecoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEnderecoRepository.cs deleted file mode 100644 index cba09be..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteEnderecoRepository.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IClienteEnderecoRepository : IGenericRepository - { - void Delete(long id); - - List DeleteEndereco(long clienteId, List enderecos); - - List FindByCliente(List clientes); - - List FindByClienteId(long id); - - ClienteEndereco FindById(long id); - - List Inserir(List endereco, Cliente cliente); - - ClienteEndereco Merge(ClienteEndereco clienteEndereco); - - List Merge(List enderecos, Cliente cliente); - - ClienteEndereco SaveOrUpdate(ClienteEndereco clienteEndereco); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs deleted file mode 100644 index e65df00..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteRepository.cs +++ /dev/null @@ -1,72 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Ferramentas; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Relatorios.Classificacao; -using Gestor.Model.Domain.Relatorios.ClientesAtivosInativos; -using Gestor.Model.Domain.Relatorios.Dashboard; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IClienteRepository : IGenericRepository - { - void AddCentralSegurado(long id, bool update); - - Task> BuscaClientes(bool completo, long idempresa); - - Task> BuscaClientesVinculo(bool completo, List vinculo, long idempresa); - - DateTime? BuscaNascimeto(long id); - - Task> BuscaProspeccoes(Filtros filtro, long idEmpresa = 0L); - - List BuscarAniversariantes(Filtros filtro, long idempresa = 0L); - - List BuscarAniversariantesVinculo(Filtros filtro, List vinculo, long idempresa = 0L); - - Task> BuscarClassificacoes(long id); - - string BuscarLogAntigo(long id, string connection); - - List BuscarOrigem(long id); - - List BuscarVencimentoCnh(Filtros filtro, long idempresa = 0L); - - void Delete(long id); - - void DeleteOrigem(long id); - - List Find(string filter, long idempresa = 0L, bool acessoAgger = false, bool assintatura = false); - - List FindAllClientes(bool completo, long idempresa = 0L); - - Cliente FindById(long id); - - List FindByName(string filter, long idempresa = 0L, bool acessoAgger = false, bool assintatura = false, bool somenteNome = false); - - List FindClienteDocumento(string documento); - - List FindClienteVinculo(string filter, List vinculos, long idempresa = 0L, bool acessoAgger = false, bool assinatura = false, TipoFiltroCliente tipoFiltroCliente = 2); - - List FindObsCliente(string obsCliente, long idempresa = 0L); - - List FindPastaCliente(string pastaCliente, bool busca = false, long idempresa = 0L); - - List FindVinculo(string filter, long id); - - Cliente Merge(Cliente cliente); - - OrigemCliente Merge(OrigemCliente origem); - - Cliente SaveOrUpdate(Cliente cliente); - - OrigemCliente SaveOrUpdate(OrigemCliente origem); - - List Sincronize(List origens, long id); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs deleted file mode 100644 index 4eea2ac..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteTelefoneRepository.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IClienteTelefoneRepository : IGenericRepository - { - void Delete(long id); - - List DeleteFone(long clienteId, List telefones); - - List Find(string telefone, long idempresa = 0L); - - List FindByClienteId(long id); - - ClienteTelefone FindById(long id); - - List Inserir(List telefones); - - List Inserir(List telefones, Cliente cliente); - - ClienteTelefone Merge(ClienteTelefone telefone); - - List Merge(List telefones, Cliente cliente); - - ClienteTelefone SaveOrUpdate(ClienteTelefone telefone); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs deleted file mode 100644 index a399178..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IClienteVinculoRepository : IGenericRepository - { - void Delete(long id); - - List DeleteVinculo(long clienteId, List vinculos); - - List FindByCliente(long id); - - ClienteVinculo FindById(long id); - - List Inserir(List vinculos, Cliente cliente); - - List Merge(List contatos, Cliente cliente); - - ClienteVinculo SaveOrUpdate(ClienteVinculo clienteVinculo); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaGranizoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaGranizoRepository.cs deleted file mode 100644 index 620e2af..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaGranizoRepository.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ICoberturaGranizoRepository : IGenericRepository - { - void Delete(long id); - - List Find(long id); - - CoberturaGranizo FindById(long id); - - CoberturaGranizo Merge(CoberturaGranizo cobertura); - - CoberturaGranizo SaveOrUpdate(CoberturaGranizo cobertura); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaPadraoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaPadraoRepository.cs deleted file mode 100644 index ed82a3d..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaPadraoRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ICoberturaPadraoRepository : IGenericRepository - { - void Delete(long id); - - List Find(); - - CoberturaPadrao FindById(long id); - - List FindByRamoId(long id); - - CoberturaPadrao Merge(CoberturaPadrao coberturaPadrao); - - CoberturaPadrao SaveOrUpdate(CoberturaPadrao coberturaPadrao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaRepository.cs deleted file mode 100644 index e2f5a01..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaRepository.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ICoberturaRepository : IGenericRepository - { - List AddRange(List coberturas); - - void Delete(long id); - - void DeletebyItem(long id); - - void DeleteRange(List ids); - - Cobertura FindById(long id); - - List FindByItemId(long id); - - Cobertura Merge(Cobertura cobertura); - - List MergeRange(List coberturas); - - Cobertura SaveOrUpdate(Cobertura cobertura); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICondicaoRepasseRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICondicaoRepasseRepository.cs deleted file mode 100644 index 367005b..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICondicaoRepasseRepository.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ICondicaoRepasseRepository : IGenericRepository - { - void Delete(long id); - - CondicaoRepasse FindById(long id); - - CondicaoRepasse Merge(CondicaoRepasse condicaoRepasse); - - CondicaoRepasse SaveOrUpdate(CondicaoRepasse condicaoRepasse); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfigExtratoImportRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfigExtratoImportRepository.cs deleted file mode 100644 index c1bf651..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfigExtratoImportRepository.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IConfigExtratoImportRepository : IGenericRepository - { - void Delete(long id); - - List Find(bool ativo); - - List Find(); - - ConfigExtratoImport FindById(long id); - - List FindBySeguradora(long id); - - Gestor.Model.Domain.Seguros.ConfigExtratoImport Merge(Gestor.Model.Domain.Seguros.ConfigExtratoImport ConfigExtratoImport); - - List MergeRange(List ConfigExtratoImport); - - Gestor.Model.Domain.Seguros.ConfigExtratoImport SaveOrUpdate(Gestor.Model.Domain.Seguros.ConfigExtratoImport ConfigExtratoImport); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfiguracaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfiguracaoRepository.cs deleted file mode 100644 index 2232774..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConfiguracaoRepository.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Gestor.Infrastructure.Entities.Configuracoes; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Configuracoes; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IConfiguracaoRepository : IGenericRepository - { - List BuscarConfiguracoes(); - - void Delete(long id); - - ConfiguracaoSistema Find(Configuracao configuracao); - - ConfiguracaoSistema Merge(ConfiguracaoSistema configuracao); - - ConfiguracaoSistema SaveOrUpdate(ConfiguracaoSistema configuracao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConsorcioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConsorcioRepository.cs deleted file mode 100644 index db9ce96..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IConsorcioRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IConsorcioRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - Consorcio Find(long id); - - Consorcio FindById(long id); - - Consorcio Merge(Consorcio risco); - - Consorcio SaveOrUpdate(Consorcio risco); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleFinanceiroRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleFinanceiroRepository.cs deleted file mode 100644 index 3205e4a..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleFinanceiroRepository.cs +++ /dev/null @@ -1,21 +0,0 @@ -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 IControleFinanceiroRepository : IGenericRepository - { - void Delete(long id); - - List FindByFornecedor(long id); - - ControleFinanceiro FindById(long id); - - ControleFinanceiro Merge(ControleFinanceiro controle); - - ControleFinanceiro SaveOrUpdate(ControleFinanceiro controle); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleRepository.cs deleted file mode 100644 index 3d04cd2..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IControleRepository : IGenericRepository - { - void Delete(long id); - - IEnumerable FindByCustomerId(long id); - - Controle FindById(long id); - - Controle Merge(Controle controle); - - Controle SaveOrUpdate(Controle controle); - - IEnumerable SelectDocumentIds(long id); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs deleted file mode 100644 index 61f5fe1..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IControleSinistroRepository : IGenericRepository - { - void Delete(long id); - - void DeleteByItem(long id); - - void DeleteRange(List ids); - - ControleSinistro FindById(long id); - - List FindByIdItem(long id); - - bool HasSinistro(long id); - - ControleSinistro Merge(ControleSinistro controle); - - ControleSinistro SaveOrUpdate(ControleSinistro controle); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICredencialRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICredencialRepository.cs deleted file mode 100644 index 67ef505..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICredencialRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -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 ICredencialRepository : IGenericRepository - { - void Delete(long id); - - List Find(long idEmpresa); - - List Find(string descricao, long idEmpresa); - - Credencial FindById(long id); - - Credencial Merge(Credencial credencial); - - Credencial SaveOrUpdate(Credencial credencial); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICriticaApoliceRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICriticaApoliceRepository.cs deleted file mode 100644 index 8766bbf..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICriticaApoliceRepository.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ICriticaApoliceRepository : IGenericRepository - { - List BuscarUsuarioCritica(DateTime inicio, DateTime fim, bool criticado = false, long idempresa = 0L); - - void Delete(long id); - - List Find(long usuario, DateTime inicio, DateTime fim, long idCorretora, bool criticado = false, long idempresa = 0L, List vinculos = null, bool vendedorEmBranco = false, bool vinculoVendedorCritica = false); - - List Find(DateTime inicio, DateTime fim, long idempresa = 0L); - - List Find(long id); - - CriticaApolice FindByApolice(long id); - - CriticaApolice FindById(long id); - - List FindDuo(long id, DateTime vigencia); - - List FindImport(long id); - - CriticaApolice Merge(CriticaApolice documento); - - CriticaApolice SaveOrUpdate(CriticaApolice documento); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDetalheExtratoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDetalheExtratoRepository.cs deleted file mode 100644 index 0ac35c8..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDetalheExtratoRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IDetalheExtratoRepository : IGenericRepository - { - void Delete(long id); - - List Find(long id); - - DetalheExtrato FindById(long id); - - List FindByLongId(long? id); - - DetalheExtrato FindByParcelaId(long id); - - DetalheExtrato Merge(DetalheExtrato parcela); - - DetalheExtrato SaveOrUpdate(DetalheExtrato parcela); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs deleted file mode 100644 index 277a960..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IDocumentoRepository.cs +++ /dev/null @@ -1,68 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Relatorios.Fechamento; -using Gestor.Model.Domain.Seguros; -using Gestor.Model.License; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IDocumentoRepository : IGenericRepository - { - bool AtualizarNumero(long id, string numero, string endosso, int tipoDocumento); - - List Auditoria(Filtros filtro); - - Task> BuscaDocumentosPorVigencia(Filtros filtro, bool buscaAssinaturas = false, bool painelBi = false); - - List BuscarDocumentoPorEstipulante(long id); - - List BuscarDocumentoPorStatus(long id); - - string BuscarLogAntigo(long id, string conn); - - List BuscarPlanilhaCompletaProspeccao(List ids); - - int Cotacoes(Filtros filtro); - - void Delete(long id); - - Task> Fechamento(Filtros filtro); - - List FindApolice(string pesquisa, FiltroStatusDocumento status, List vendedorVinculado, string campo, long idempresa = 0L, bool vendedorembranco = false, bool tipobusca = false); - - List FindApoliceByCustomer(long idCliente, FiltroStatusDocumento status, List vendedorVinculado, List licencas, bool endosso = false, bool acessoAgger = false, bool vendedorembranco = false); - - List FindByControle(long id); - - Documento FindById(long id, bool itens = false, bool sinistrosPorControle = false); - - Documento FindById(long id, List vendedorVinculado); - - List FindByIds(List ids); - - List FindByLicenciamento(Filtros filtro); - - List FindByParcelaIds(List ids); - - List FindByPlaca(Filtros filtro); - - List FindByVigenciaFinal(Filtros filtro, List licencas, bool somarPremios); - - Task> FindEndossoByVigencia(Filtros filtro, bool buscarAssinatura = false); - - List FindPendenciasByVigencia(Filtros filtro); - - Documento Merge(Documento documento); - - void SalvarAssistencia(string id, long idcontrole); - - Documento SaveOrUpdate(Documento documento); - - void TrocarCliente(Controle controle, Cliente cliente); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs deleted file mode 100644 index 1b30b68..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs +++ /dev/null @@ -1,32 +0,0 @@ -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 - { - string BuscarSenhaAdm(long idempresa = 1L); - - double ConsultaEspacoBancoInGb(); - - void Delete(long id); - - List Find(long idempresa = 0L); - - List 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 diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEstipulanteRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEstipulanteRepository.cs deleted file mode 100644 index c532c4e..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEstipulanteRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IEstipulanteRepository : IGenericRepository - { - void Delete(long id); - - List Find(string value, long idempresa = 0L); - - List Find(); - - Estipulante FindById(long id); - - Estipulante Merge(Estipulante empresa); - - Estipulante SaveOrUpdate(Estipulante empresa); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExpedicaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExpedicaoRepository.cs deleted file mode 100644 index bd2979d..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExpedicaoRepository.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IExpedicaoRepository : IGenericRepository - { - void Delete(long id); - - List FindByIdDocumento(long IdDocumento); - - Expedicao Merge(Expedicao expedicao); - - Expedicao SaveOrUpdate(Expedicao expedicao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExtratoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExtratoRepository.cs deleted file mode 100644 index 395f10f..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IExtratoRepository.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IExtratoRepository : IGenericRepository - { - void Delete(long id); - - List FindByData(Filtros filtro); - - List FindByEmpresa(long id); - - Extrato FindById(long id); - - List FindBySeguradora(long id, long idusuario, long empresa, DateTime inicio, DateTime fim, StatusExtrato? status = null); - - List FindByStatus(StatusExtrato status); - - List FindSeguradoras(StatusExtrato status); - - Extrato Merge(Extrato extrato); - - Extrato SaveOrUpdate(Extrato extrato); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFabricanteRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFabricanteRepository.cs deleted file mode 100644 index af987ed..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFabricanteRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IFabricanteRepository : IGenericRepository - { - void Delete(long id); - - List Find(string filter); - - Fabricante FindById(long id); - - Fabricante Merge(Fabricante fabricante); - - Fabricante SaveOrUpdate(Fabricante fabricante); - - List Select(); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFornecedorRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFornecedorRepository.cs deleted file mode 100644 index 5b8f9b6..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IFornecedorRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -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 IFornecedorRepository : IGenericRepository - { - void Delete(long id); - - List Find(string filter, bool ativo); - - List Find(); - - Fornecedor FindById(long id); - - Fornecedor Merge(Fornecedor fornecedor); - - Fornecedor SaveOrUpdate(Fornecedor fornecedor); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IGranizoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IGranizoRepository.cs deleted file mode 100644 index f8e456d..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IGranizoRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IGranizoRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - Granizo Find(long id); - - Granizo FindById(long id); - - Granizo Merge(Granizo granizo); - - Granizo SaveOrUpdate(Granizo granizo); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IImpostoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IImpostoRepository.cs deleted file mode 100644 index 9e1a522..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IImpostoRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -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 IImpostoRepository : IGenericRepository - { - List DefaultSelect(bool? ativo); - - Imposto FindById(long id); - - List FindByRamo(long id); - - List FindBySeguradora(long id); - - Imposto Merge(Imposto imposto); - - Imposto SaveOrUpdate(Imposto imposto); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IIndiceArquivoDigitalRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IIndiceArquivoDigitalRepository.cs deleted file mode 100644 index fc3a993..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IIndiceArquivoDigitalRepository.cs +++ /dev/null @@ -1,34 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Common; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IIndiceArquivoDigitalRepository : IGenericRepository - { - ControleArquivoDigital BuscarBanco(); - - List BuscarBancos(); - - ControleArquivoDigital ConsultarBanco(string banco); - - void Delete(long id); - - List Find(TipoArquivoDigital tipo, long id, long usuario, bool buscarAssinaturas = false); - - ArquivoDigital FindAssinatura(long id); - - List FindAssinatura(List id); - - IndiceArquivoDigital FindById(long id); - - IndiceArquivoDigital Merge(IndiceArquivoDigital indice); - - IndiceArquivoDigital SaveOrUpdate(IndiceArquivoDigital indice); - - ControleArquivoDigital SaveOrUpdate(ControleArquivoDigital catalogo); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs deleted file mode 100644 index 04578fa..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IItemRepository.cs +++ /dev/null @@ -1,44 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Common; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IItemRepository : IGenericRepository - { - Task> BuscaItensPorObs(string pesquisa, FiltroStatusDocumento status, List vendedorVinculado, TipoPesquisa tipo, bool tipobusca = false); - - Cliente BuscarCliente(long id); - - int ChecarQuantidade(long idDocumento); - - void Delete(long id); - - void DeleteRange(List ids); - - List FindByDocumentsIds(long id, StatusItem status = 0, bool sinistroCompleto = false); - - Item FindById(long id); - - List FindByIds(List ids); - - List FindItens(long id, StatusItem status); - - List FindItens(List documento); - - List FindItens(long id); - - List FindItens(List ids); - - int FindNextItem(long id); - - Item Merge(Item empresa); - - Item SaveOrUpdate(Item empresa); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ILancamentoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ILancamentoRepository.cs deleted file mode 100644 index e91d625..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ILancamentoRepository.cs +++ /dev/null @@ -1,55 +0,0 @@ -using Gestor.Infrastructure.Entities.Financeiro; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Financeiro; -using Gestor.Model.Domain.Financeiro.Relatorios; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ILancamentoRepository : IGenericRepository - { - List AddRange(List lancamento); - - bool BancosContasUtilizado(long id); - - void Delete(long id); - - List Fechamento(FiltroFinanceiro filtro); - - Saldo FecharSaldo(Saldo saldo); - - List Find(DateTime inicio, DateTime fim, StatusLancamento status); - - List FindByBaixa(DateTime inicio, DateTime fim); - - List FindByCodigoBanco(List codigos); - - List FindByConta(DateTime inicio, DateTime fim, long id); - - List FindByControle(long id, StatusLancamento status); - - Lancamento FindByControle(long id, int parcela); - - List FindByFornecedor(long id, StatusLancamento status); - - List FindByFornecedor(long id, DateTime date, Sinal sinal); - - Lancamento FindById(long id); - - List FindByLancamento(DateTime inicio, DateTime fim, StatusLancamento status); - - List FindByPagamento(DateTime inicio, DateTime fim); - - List FindLancamentosByConta(DateTime inicio, DateTime fim, long id); - - List FindPersonalizado(DateTime inicio, DateTime fim, StatusLancamento status, FiltroLancamentoData filtrodata); - - bool HasByFornecedor(long id); - - Lancamento Merge(Lancamento lancamento); - - Lancamento SaveOrUpdate(Lancamento lancamento); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMaisContatoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMaisContatoRepository.cs deleted file mode 100644 index 0d92bad..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMaisContatoRepository.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IMaisContatoRepository : IGenericRepository - { - void Delete(long id); - - List DeleteContato(long clienteId, List contatos); - - List FindByCustomerId(long id); - - MaisContato FindById(long id); - - List Inserir(List contatos, Cliente cliente); - - MaisContato Merge(MaisContato maisContato); - - List Merge(List contatos, Cliente cliente); - - MaisContato SaveOrUpdate(MaisContato maisContato); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaSeguradoraRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaSeguradoraRepository.cs deleted file mode 100644 index 12b8b10..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaSeguradoraRepository.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IMetaSeguradoraRepository : IGenericRepository - { - void Delete(long id); - - List Find(long id); - - MetaSeguradora FindById(long id); - - List FindByMeta(Filtros filtro); - - MetaSeguradora Merge(MetaSeguradora metaSeguradora); - - MetaSeguradora SaveOrUpdate(MetaSeguradora metaSeguradora); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaVendedorRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaVendedorRepository.cs deleted file mode 100644 index d1f88a6..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IMetaVendedorRepository.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IMetaVendedorRepository : IGenericRepository - { - void Delete(long id); - - List Find(long id); - - MetaVendedor FindById(long id); - - List FindByMeta(Filtros filtro); - - MetaVendedor Merge(MetaVendedor metaVendedor); - - MetaVendedor SaveOrUpdate(MetaVendedor metaVendedor); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IModeloMalaDiretaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IModeloMalaDiretaRepository.cs deleted file mode 100644 index 3c39958..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IModeloMalaDiretaRepository.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.MalaDireta; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IModeloMalaDiretaRepository : IGenericRepository - { - void Delete(long id); - - List Find(); - - ModeloMalaDireta FindById(long id); - - ModeloMalaDireta Merge(ModeloMalaDireta modelo); - - ModeloMalaDireta SaveOrUpdate(ModeloMalaDireta modelo); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/INotaFiscalRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/INotaFiscalRepository.cs deleted file mode 100644 index cba9155..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/INotaFiscalRepository.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Ferramentas; -using Gestor.Model.Domain.Relatorios; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface INotaFiscalRepository : IGenericRepository - { - void Delete(long id); - - List FindAll(); - - List FindByDatas(Filtros filtro); - - bool FindByExtrato(long id); - - NotaFiscal Merge(NotaFiscal notaFiscal); - - NotaFiscal SaveOrUpdate(NotaFiscal notaFiscal); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosRelatorioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosRelatorioRepository.cs deleted file mode 100644 index 555ac56..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosRelatorioRepository.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Gestor.Infrastructure.Entities.Relatorios; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Relatorios; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IParametrosRelatorioRepository : IGenericRepository - { - void Delete(long id); - - List Find(long id, Relatorio relatorio); - - ParametrosRelatorio Merge(ParametrosRelatorio parametrosRelatorio); - - ParametrosRelatorio SaveOrUpdate(ParametrosRelatorio parametrosRelatorio); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosTotalizacaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosTotalizacaoRepository.cs deleted file mode 100644 index e1f0bbc..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParametrosTotalizacaoRepository.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Gestor.Infrastructure.Entities.Relatorios; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Relatorios; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IParametrosTotalizacaoRepository : IGenericRepository - { - void Delete(long id); - - List Find(long id, Relatorio relatorio); - - ParametrosTotalizacao Merge(ParametrosTotalizacao parametrosTotalizacao); - - ParametrosTotalizacao SaveOrUpdate(ParametrosTotalizacao parametrosTotalizacao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParceiroRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParceiroRepository.cs deleted file mode 100644 index 76ae828..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParceiroRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IParceiroRepository : IGenericRepository - { - void Delete(long id); - - List Find(); - - List Find(string filter); - - Parceiro FindById(long id); - - long FindLastId(); - - Parceiro Merge(Parceiro parceiro); - - Parceiro SaveOrUpdate(Parceiro parceiro); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParcelaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParcelaRepository.cs deleted file mode 100644 index 46850f7..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IParcelaRepository.cs +++ /dev/null @@ -1,67 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Aggilizador; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Relatorios.PrevisaoPagamentoComissao; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IParcelaRepository : IGenericRepository - { - Task> BuscaDocumentosPorVigencia(Filtros filtro, bool buscaAssinaturas = false, bool painelBi = false); - - Documento BuscarApolice(long id); - - string BuscarLogAntigo(long id, string conn); - - ParcelaPendente BuscarPendencia(long id); - - void Delete(long id); - - void DeleteRange(long id); - - bool ExcluirVinculoParcelaPendenteDocExcluido(Documento doc); - - Task> FaturaPendente(Filtros filtro); - - List FindByDocumentId(long id); - - List FindByDocumentId(List ids); - - List FindByDocumentIds(string ids, List documentos); - - List FindByDocumento(Documento documento); - - Parcela FindById(long id); - - List FindByPagamento(Filtros filtro, bool reciboPagamento, bool segundaViaReciboPagamento, bool datacontrole); - - List FindByPendente(Filtros filtro, bool pendente, bool somenteAtivos); - - Task> FindByRecebimento(Filtros filtro); - - List FindByVencimento(Filtros filtro); - - List FindByVigencia(Filtros filtro); - - List FindDocumentId(List ids); - - List FindNumFatura(string numero); - - Parcela Merge(Parcela parcela); - - List PrevisaoPagamentoComissao(Filtros filtro); - - Parcela SaveOrUpdate(Parcela parcela); - - int[] SincronizarPendencia(DateTime date, List ids = null); - - bool Update(List detalhes, bool desabilitaAproximacao); - - List UpdateRange(List parcelas); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPatrimonialRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPatrimonialRepository.cs deleted file mode 100644 index 318f5a8..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPatrimonialRepository.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Common; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IPatrimonialRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - Patrimonial Find(long id); - - Patrimonial FindById(long id); - - List FindImobiliaria(string imobiliaria, FiltroStatusDocumento status, List vendedorVinculado); - - List Findlocatario(string imobiliaria, FiltroStatusDocumento status, List vendedorVinculado); - - Patrimonial Merge(Patrimonial patrimonial); - - Patrimonial SaveOrUpdate(Patrimonial patrimonial); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilEmpresaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilEmpresaRepository.cs deleted file mode 100644 index fe26532..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilEmpresaRepository.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IPerfilEmpresaRepository : IGenericRepository - { - void Delete(long id); - - PerfilEmpresa Find(long id); - - PerfilEmpresa FindByControleId(long id); - - PerfilEmpresa Merge(PerfilEmpresa perfil); - - PerfilEmpresa SaveOrUpdate(PerfilEmpresa perfil); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilRepository.cs deleted file mode 100644 index bc721d4..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPerfilRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IPerfilRepository : IGenericRepository - { - void Delete(long id); - - Perfil Find(long id); - - List FindByControleId(long id); - - List FindByControleIds(string ids); - - Perfil Merge(Perfil perfil); - - Perfil SaveOrUpdate(Perfil perfil); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoArquivoDigitalRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoArquivoDigitalRepository.cs deleted file mode 100644 index 4a75173..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoArquivoDigitalRepository.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Gestor.Model.Common; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IPermissaoArquivoDigitalRepository - { - PermissaoArquivoDigital FindByPermissao(long id, TipoArquivoDigital tela); - - List FindByUsuario(long id); - - PermissaoArquivoDigital Merge(PermissaoArquivoDigital permissao); - - PermissaoArquivoDigital SaveOrUpdate(PermissaoArquivoDigital permissao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs deleted file mode 100644 index 07fd4fe..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Gestor.Model.Common; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IPermissaoUsuarioRepository - { - PermissaoUsuario FindByPermissao(long id, TipoTela tela); - - List FindByUsuario(long id); - - PermissaoUsuario Merge(PermissaoUsuario permissao); - - PermissaoUsuario SaveOrUpdate(PermissaoUsuario permissao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanoRepository.cs deleted file mode 100644 index b5722d8..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanoRepository.cs +++ /dev/null @@ -1,19 +0,0 @@ -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 IPlanoRepository : IGenericRepository - { - List Find(string descricao); - - List Find(); - - Plano Merge(Plano plano); - - Plano SaveOrUpdate(Plano plano); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanosRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanosRepository.cs deleted file mode 100644 index e12b184..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPlanosRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -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 IPlanosRepository : IGenericRepository - { - List Find(string descricao); - - List Find(); - - Planos FindById(long id); - - List FindByPlanoId(long id); - - Planos Merge(Planos planos); - - Planos SaveOrUpdate(Planos planos); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProdutoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProdutoRepository.cs deleted file mode 100644 index 703cc69..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProdutoRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IProdutoRepository : IGenericRepository - { - void Delete(long id); - - List Find(string value); - - List Find(); - - Produto FindById(long id); - - Produto Merge(Produto produto); - - Produto SaveOrUpdate(Produto produto); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs deleted file mode 100644 index 6f32852..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProfissaoRepository.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Common; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IProfissaoRepository : IGenericRepository - { - List Find(string filter); - - long FindLastId(); - - Profissao Merge(Profissao profissao); - - Profissao SaveOrUpdate(Profissao profissao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProspectRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProspectRepository.cs deleted file mode 100644 index b15a4ba..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IProspectRepository.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IProspectRepository : IGenericRepository - { - void Delete(long id); - - List Find(long idEmpresa, long id, DateTime inicio, DateTime fim, StatusProspeccao? status); - - List Find(Filtros filtro); - - List FindByData(DateTime inicio, DateTime fim); - - Prospeccao FindById(long id); - - List FindByStatus(StatusProspeccao status); - - List FindByStatusPersonalizado(long statusId); - - Prospeccao FindByTarefa(long id); - - List FindByVendedor(long id); - - Prospeccao Merge(Prospeccao prospeccao); - - Prospeccao SaveOrUpdate(Prospeccao prospeccao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IQualificacaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IQualificacaoRepository.cs deleted file mode 100644 index d2d8b2f..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IQualificacaoRepository.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IQualificacaoRepository : IGenericRepository - { - Qualificacao FindById(long id); - - Qualificacao Merge(Qualificacao qualificacao); - - Qualificacao SaveOrUpdate(Qualificacao qualificacao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs deleted file mode 100644 index e0aa433..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRamoRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IRamoRepository : IGenericRepository - { - void Delete(long id); - - List Find(bool ativo); - - List Find(); - - Ramo FindById(long id); - - Ramo Merge(Ramo ramo); - - List MergeRange(List ramos); - - Ramo SaveOrUpdate(Ramo ramo); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReciboRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReciboRepository.cs deleted file mode 100644 index c8abc0a..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReciboRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -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 IReciboRepository : IGenericRepository - { - List BuscarRecibos(); - - void Delete(long id); - - void DeleteRange(List ids); - - Recibo FindById(long id); - - Recibo Merge(Recibo recibo); - - Recibo SaveOrUpdate(Recibo recibo); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroAcaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroAcaoRepository.cs deleted file mode 100644 index 8857ec3..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroAcaoRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Common; -using Gestor.Model.Domain.Relatorios; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IRegistroAcaoRepository : IGenericRepository - { - void Delete(long id); - - List Find(Filtros filtros); - - List FindByEntityId(long id, TipoTela tela); - - RegistroAcao FindById(long id); - - List FindOld(Filtros filtros, string connection); - - RegistroAcao SaveOrUpdate(RegistroAcao log); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroLogRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroLogRepository.cs deleted file mode 100644 index 6dd9344..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRegistroLogRepository.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Common; -using Gestor.Model.Domain.Ferramentas; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Relatorios.LogsEnvio; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IRegistroLogRepository : IGenericRepository - { - void AddRange(List registrosLog); - - List BuscaLogParcelas(List EntidadeId); - - void Delete(long id); - - List FindByCredential(long id); - - List FindByEntity(TipoTela tela, long id); - - List FindByEntityId(TipoTela tela, long EntidadeId); - - RegistroLog FindById(long id); - - List FindByIdSingle(long id); - - List FindByUser(TipoTela tela, long IdUsuario); - - List FindByUsuario(long id); - - List LogsEnvio(Filtros filtro); - - RegistroLog SaveOrUpdate(RegistroLog registroLog); - - LogEmail SaveOrUpdate(LogEmail log); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRepasseRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRepasseRepository.cs deleted file mode 100644 index 24448c8..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRepasseRepository.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IRepasseRepository : IGenericRepository - { - List DefaultSelect(long idempresa = 0L); - - void Delete(long id); - - void DeleteVinculo(long id); - - Repasse FindById(long id); - - List FindByIdRepasse(long id); - - List FindByIdVendedor(long id); - - List FindByRepasse(long id); - - Repasse Merge(Repasse repasse); - - VinculoRepasse Merge(VinculoRepasse vinculo); - - Repasse SaveOrUpdate(Repasse repasse); - - VinculoRepasse SaveOrUpdate(VinculoRepasse vinculo); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReportRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReportRepository.cs deleted file mode 100644 index 72d0c90..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IReportRepository.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Relatorios; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IReportRepository : IGenericRepository - { - List PlanilhaCompleta(List ids, bool configFranquia, bool configSomaPremio); - - List PlanilhaCompletaFatura(List ids, Relatorio relatorio, DateTime inicio, DateTime fim, bool configFranquia, bool configSomaPremio); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioCamposRelatoriosRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioCamposRelatoriosRepository.cs deleted file mode 100644 index 67855b8..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioCamposRelatoriosRepository.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IRestricaoUsuarioCamposRelatoriosRepository - { - List FindByUsuario(long id); - - RestricaoUsuarioCamposRelatorios Merge(RestricaoUsuarioCamposRelatorios restricao); - - RestricaoUsuarioCamposRelatorios SaveOrUpdate(RestricaoUsuarioCamposRelatorios restricao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs deleted file mode 100644 index aeb731b..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Gestor.Model.Common; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IRestricaoUsuarioRepository - { - List FindByUsuario(long id); - - RestricaoUsuario FindRestricao(long id, TipoRestricao restricao); - - RestricaoUsuario Merge(RestricaoUsuario restricao); - - RestricaoUsuario SaveOrUpdate(RestricaoUsuario restricao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRiscosDiversosRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRiscosDiversosRepository.cs deleted file mode 100644 index 5516f1e..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRiscosDiversosRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IRiscosDiversosRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - RiscosDiversos Find(long id); - - RiscosDiversos FindById(long id); - - RiscosDiversos Merge(RiscosDiversos risco); - - RiscosDiversos SaveOrUpdate(RiscosDiversos risco); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs deleted file mode 100644 index d8b9200..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISaldoRepository.cs +++ /dev/null @@ -1,27 +0,0 @@ -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 - { - Saldo BuscarAberto(long id); - - List 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 diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs deleted file mode 100644 index 57425d5..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ISeguradoraContatoRepository : IGenericRepository - { - void Delete(long id); - - List FindAssistencia(long empresa, long id); - - SeguradoraContato FindById(long id); - - List FindBySeguradora(long empresa, long id); - - SeguradoraContato Merge(SeguradoraContato contato); - - List Merge(List contatos, Seguradora seguradora, long empresa); - - SeguradoraContato SaveOrUpdate(SeguradoraContato contato); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraEnderecoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraEnderecoRepository.cs deleted file mode 100644 index 24f2709..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraEnderecoRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ISeguradoraEnderecoRepository : IGenericRepository - { - void Delete(long id); - - SeguradoraEndereco FindById(long id); - - List FindBySeguradora(long empresa, long id); - - SeguradoraEndereco Merge(SeguradoraEndereco endereco); - - List Merge(List enderecos, Seguradora seguradora, long empresa); - - SeguradoraEndereco SaveOrUpdate(SeguradoraEndereco endereco); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs deleted file mode 100644 index d297481..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ISeguradoraRepository : IGenericRepository - { - void Delete(long id); - - List Find(string filter); - - List Find(bool ativo); - - List Find(); - - Seguradora FindById(long id); - - Seguradora Merge(Seguradora seguradora); - - Seguradora SaveOrUpdate(Seguradora seguradora); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroAutoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroAutoRepository.cs deleted file mode 100644 index 0536662..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroAutoRepository.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ISinistroAutoRepository : IGenericRepository - { - void Delete(long id); - - SinistroAuto FindById(long id); - - SinistroAuto FindBySinistroId(long id); - - SinistroAuto Merge(SinistroAuto sinistroAuto); - - bool ParceiroUtilizado(long id); - - SinistroAuto SaveOrUpdate(SinistroAuto sinistroAuto); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroRepository.cs deleted file mode 100644 index 763b7bd..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroRepository.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ISinistroRepository : IGenericRepository - { - void Delete(long id); - - List Find(string numero); - - List FindByControleId(long id); - - List FindByData(Filtros filtro, bool pendentes = false); - - Sinistro FindById(long id); - - List FindByItemId(long id); - - List FindNumeroSinistro(string numero); - - Sinistro Merge(Sinistro sinistro); - - Sinistro SaveOrUpdate(Sinistro sinistro); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs deleted file mode 100644 index 322e62e..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISinistroVidaRepository.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ISinistroVidaRepository : IGenericRepository - { - void Delete(long id); - - SinistroVida FindById(long id); - - SinistroVida FindBySinistroId(long id); - - SinistroVida Merge(SinistroVida sinistroVida); - - SinistroVida SaveOrUpdate(SinistroVida sinistroVida); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs deleted file mode 100644 index d5c7eda..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Common; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ISocioRepository : IGenericRepository - { - void Delete(long id); - - List Find(); - - List FindByEmpresa(long id); - - Socio FindById(long id); - - Socio Merge(Socio socio); - - Socio SaveOrUpdate(Socio socio); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusProspeccaoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusProspeccaoRepository.cs deleted file mode 100644 index f1319dd..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusProspeccaoRepository.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Ferramentas; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IStatusProspeccaoRepository : IGenericRepository - { - List FindAll(); - - StatusDeProspeccao Merge(StatusDeProspeccao statusProspeccao); - - StatusDeProspeccao SaveOrUpdate(StatusDeProspeccao statusProspeccao); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusRepository.cs deleted file mode 100644 index 5899603..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IStatusRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IStatusRepository : IGenericRepository - { - void Delete(long id); - - List Find(string value); - - List Find(); - - Status FindById(long id); - - Status Merge(Status status); - - Status SaveOrUpdate(Status status); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITarefaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITarefaRepository.cs deleted file mode 100644 index 3d4b0f5..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITarefaRepository.cs +++ /dev/null @@ -1,69 +0,0 @@ -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Ferramentas; -using Gestor.Model.Domain.Relatorios.Tarefa; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ITarefaRepository : IGenericRepository - { - Gestor.Model.Domain.Ferramentas.Tarefa Atualizar(Gestor.Model.Domain.Ferramentas.Tarefa tarefa); - - Trilha Atualizar(Trilha trilha); - - Fase Atualizar(Fase fase); - - List BuscarFases(long id); - - Gestor.Model.Domain.Ferramentas.Tarefa BuscarTarefa(long id); - - List BuscarTarefa(TipoTarefa entidade, long id, bool? concluido = false); - - List BuscarTarefaConcluidaPorUsuario(long id, TipoTarefa tipo); - - List BuscarTarefaPorCliente(long id); - - List BuscarTarefaPorData(DateTime data, long idUsuario, bool? concluido = false); - - List BuscarTarefaPorFiltro(DateTime inicio, DateTime fim); - - List BuscarTarefaPorTrilha(long id); - - List BuscarTarefaPorUsuario(long id, bool? concluido = false); - - List BuscarTarefaPorUsuario(long id, DateTime inicio, DateTime fim, bool? concluido); - - List BuscarTarefaPorUsuario(long id, TipoTarefa tipo); - - List BuscarTarefasPorTipo(long id); - - Trilha BuscarTrilha(long id); - - List BuscarTrilhas(bool ativo = true); - - List BuscarTrilhas(string titulo, bool ativo = true); - - int[] ContarTarefas(long id); - - void Excluir(long id); - - void ExcluirFase(long id); - - void ExcluirTrilha(long id); - - Gestor.Model.Domain.Ferramentas.Tarefa Salvar(Gestor.Model.Domain.Ferramentas.Tarefa tarefa); - - List Salvar(List tarefas); - - Trilha Salvar(Trilha trilha); - - Fase Salvar(Fase fase); - - List Salvar(List fases); - - List Validar(List ids, long trilha); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoContaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoContaRepository.cs deleted file mode 100644 index 53b32b7..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoContaRepository.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Financeiro; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ITipoContaRepository : IGenericRepository - { - List Find(); - - TipoConta Merge(TipoConta planos); - - TipoConta SaveOrUpdate(TipoConta planos); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoTarefaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoTarefaRepository.cs deleted file mode 100644 index fead2c4..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoTarefaRepository.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Gestor.Infrastructure.Entities.Ferramentas; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Ferramentas; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ITipoTarefaRepository : IGenericRepository - { - List FindAll(); - - TipoDeTarefa Merge(TipoDeTarefa tipoTarefa); - - TipoDeTarefa SaveOrUpdate(TipoDeTarefa tipoTarefa); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoVendedorRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoVendedorRepository.cs deleted file mode 100644 index 767d60a..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITipoVendedorRepository.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ITipoVendedorRepository : IGenericRepository - { - List DefaultSelect(); - - void Delete(long id); - - List Find(bool ativo); - - List Find(); - - TipoVendedor FindById(long id); - - long FindLastId(); - - TipoVendedor Merge(TipoVendedor tipoVendedor); - - List MergeRange(List tiposVendedor); - - TipoVendedor SaveOrUpdate(TipoVendedor tipoVendedor); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITitularesVidaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITitularesVidaRepository.cs deleted file mode 100644 index 504ed2f..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ITitularesVidaRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface ITitularesVidaRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - List Find(long id); - - TitularesVida FindById(long id); - - TitularesVida Merge(TitularesVida vida); - - TitularesVida SaveOrUpdate(TitularesVida vida); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IUsuarioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IUsuarioRepository.cs deleted file mode 100644 index 848c459..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IUsuarioRepository.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.API; -using Gestor.Model.Common; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IUsuarioRepository : IGenericRepository - { - Usuario AddUsuarioFromSso(UserSso userSso); - - void Delete(long id); - - List Find(string filter, long idempresa = 0L); - - List Find(long idempresa = 0L); - - Usuario FindById(long id); - - List FindByLoginInteiro(string filter); - - bool FindDocUsedByDocumento(string filter, long id, long idempresa); - - Usuario FindFromSso(UserSso userSso); - - Usuario FindUsuario(string login); - - Usuario Merge(Usuario usuario); - - List PermissaoAggilizador(); - - Usuario SaveOrUpdate(Usuario usuario); - - Usuario SsoId(AuthSso sso); - - Usuario ValidateLogin(string login, string password); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorParcelaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorParcelaRepository.cs deleted file mode 100644 index 7b56a7b..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorParcelaRepository.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Ferramentas; -using Gestor.Model.Domain.Relatorios; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IVendedorParcelaRepository : IGenericRepository - { - List AddRange(List repasses); - - Vendedor BuscarVendedorPorControle(long id); - - bool Delete(long id); - - void DeleteRange(long id); - - void DeleteRange(List repasses); - - List FindByDate(Filtros filtro); - - List FindByDocumentId(long documentId); - - VendedorParcela FindById(long id); - - Vendedor FindByMainDocumentId(long documentId); - - List FindByParcela(long id); - - List FindVinculoByIdCliente(long idCliente); - - bool GerarPagamento(List ids, DateTime data); - - VendedorParcela Merge(VendedorParcela vendedorParcela); - - VendedorParcela SaveOrUpdate(VendedorParcela vendedorParcela); - - bool TemPagamentoParcela(long id); - - bool TipoVendedorUtilizado(long id); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorRepository.cs deleted file mode 100644 index 6adadaf..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorRepository.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IVendedorRepository : IGenericRepository - { - void Delete(long id); - - List Find(bool ativo, long idempresa = 0L); - - List Find(long idempresa = 0L); - - List Find(string nome, long idempresa = 0L); - - Vendedor FindById(long id); - - Vendedor FindCorretora(); - - Vendedor Merge(Vendedor vendedor); - - Vendedor SaveOrUpdate(Vendedor vendedor); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorTelefoneRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorTelefoneRepository.cs deleted file mode 100644 index 49e775b..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorTelefoneRepository.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IVendedorTelefoneRepository : IGenericRepository - { - void Delete(long id); - - VendedorTelefone FindById(long id); - - List FindByVendedorId(long id); - - List Inserir(List telefones); - - List Inserir(List telefones, Vendedor vendedor); - - VendedorTelefone Merge(VendedorTelefone telefone); - - List Merge(List telefones, Vendedor vendedor); - - VendedorTelefone SaveOrUpdate(VendedorTelefone telefone); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs deleted file mode 100644 index 350e705..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVendedorUsuarioRepository.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IVendedorUsuarioRepository : IGenericRepository - { - void Delete(long id); - - bool Exist(long id); - - bool ExistVinculoUsuario(long idUsuario); - - VendedorUsuario FindById(long id); - - IList FindByUsuario(long idUsuario); - - List FindByVinculo(long idUsuario); - - VendedorUsuario Merge(VendedorUsuario vendedorUsuario); - - VendedorUsuario SaveOrUpdate(VendedorUsuario vendedorUsuario); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs deleted file mode 100644 index c213cd7..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVidaRepository.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Gestor.Infrastructure.Entities.Seguros; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Domain.Seguros; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IVidaRepository : IGenericRepository - { - void Delete(long id); - - void DeleteRange(List ids); - - Vida Find(long id); - - Vida FindById(long id); - - Vida Merge(Vida vida); - - Vida SaveOrUpdate(Vida vida); - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVinculoDocumentoRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVinculoDocumentoRepository.cs deleted file mode 100644 index e95c0ca..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IVinculoDocumentoRepository.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Gestor.Infrastructure.Entities.Aggilizador; -using Gestor.Infrastructure.Repository.Generic; -using Gestor.Model.Common; -using Gestor.Model.Domain.Aggilizador; -using Gestor.Model.Domain.Relatorios; -using System; -using System.Collections.Generic; - -namespace Gestor.Infrastructure.Repository.Interface -{ - public interface IVinculoDocumentoRepository : IGenericRepository - { - List BuscarArquivos(List ids, TipoArquivoVinculo type); - - void Delete(long id); - - VinculoDocumento FindById(long id); - - VinculoDocumento Merge(VinculoDocumento vinculo); - - VinculoDocumento SaveOrUpdate(VinculoDocumento vinculo); - - int Sincronize(DateTime inicio, List dados); - } -} \ No newline at end of file -- cgit v1.2.3