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 --- .../IAutoRepository.cs | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs') diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs new file mode 100644 index 0000000..c77221a --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAutoRepository.cs @@ -0,0 +1,31 @@ +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 -- cgit v1.2.3