Refactor services to use repository pattern for database operations
- Updated EmpresaReportService to utilize ICatalogoRepository for stored procedure calls. - Refactored InformeService to include new method for executing Crystal Reports stored procedures. - Simplified LeadService by removing direct database connections and using ILeadRepository and ILeadQueryRepository. - Modified ReportService to leverage ICatalogoRepository for querying stored procedures. - Streamlined UsuarioService to use IUsuarioRepository for user authentication and profile retrieval. - Added new CatalogoService to handle various catalog-related queries and operations. - Introduced ArqueoRepository and CatalogoRepository for managing database interactions. - Created DTOs for various entities including Alumno, Contrato, Cotizacion, Descuento, Documento, Empresa, and Propuesta. - Implemented BaseController and ErrorController for standardized API responses and error handling. - Added QuestPDF package for PDF generation capabilities.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Ventas.Core.Interfaces;
|
||||
|
||||
public interface IArqueoRepository
|
||||
{
|
||||
Task<IEnumerable<Dictionary<string, object>>> TodosHoyAsync(DateTime fecha);
|
||||
Task<IEnumerable<Dictionary<string, object>>> HoyAsync(string usuarioId, DateTime fecha);
|
||||
}
|
||||
Reference in New Issue
Block a user