| 
									
										
										
										
											2025-06-09 19:37:07 -03:00
										 |  |  | using GestionIntegral.Api.Models.Distribucion; | 
					
						
							|  |  |  | using System; | 
					
						
							|  |  |  | using System.Collections.Generic; | 
					
						
							|  |  |  | using System.Data; | 
					
						
							|  |  |  | using System.Threading.Tasks; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace GestionIntegral.Api.Data.Repositories.Distribucion | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   public interface ICambioParadaRepository | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     Task<IEnumerable<CambioParadaCanilla>> GetByCanillaAsync(int idCanilla); | 
					
						
							|  |  |  |     Task<CambioParadaCanilla?> GetByIdAsync(int idRegistro); | 
					
						
							|  |  |  |     Task<CambioParadaCanilla?> GetCurrentParadaAsync(int idCanilla, IDbTransaction? transaction = null); | 
					
						
							|  |  |  |     Task<CambioParadaCanilla?> CreateAsync(CambioParadaCanilla nuevaParada, int idUsuario, IDbTransaction transaction); | 
					
						
							|  |  |  |     Task<bool> UpdateVigenciaHAsync(int idRegistro, DateTime vigenciaH, int idUsuario, IDbTransaction transaction); | 
					
						
							|  |  |  |     Task<bool> DeleteAsync(int idRegistro, int idUsuario, IDbTransaction transaction); | 
					
						
							| 
									
										
										
										
											2025-06-12 19:36:21 -03:00
										 |  |  |     Task<IEnumerable<(CambioParadaCanillaHistorial Historial, string NombreUsuarioModifico, string NombreCanilla)>> GetCambiosParadaHistorialAsync( | 
					
						
							|  |  |  |         DateTime? fechaDesde, DateTime? fechaHasta, | 
					
						
							|  |  |  |         int? idUsuarioModifico, string? tipoModificacion, | 
					
						
							|  |  |  |         int? idCanillaOriginal); | 
					
						
							| 
									
										
										
										
											2025-06-09 19:37:07 -03:00
										 |  |  |   } | 
					
						
							|  |  |  | } |