19 lines
		
	
	
		
			808 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			808 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using GestionIntegral.Api.Dtos.Contables;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Threading.Tasks;
 | |
| 
 | |
| namespace GestionIntegral.Api.Services.Contables
 | |
| {
 | |
|     public interface INotaCreditoDebitoService
 | |
|     {
 | |
|         Task<IEnumerable<NotaCreditoDebitoDto>> ObtenerTodosAsync(
 | |
|             DateTime? fechaDesde, DateTime? fechaHasta,
 | |
|             string? destino, int? idDestino, int? idEmpresa, string? tipoNota);
 | |
| 
 | |
|         Task<NotaCreditoDebitoDto?> ObtenerPorIdAsync(int idNota);
 | |
|         Task<(NotaCreditoDebitoDto? Nota, string? Error)> CrearAsync(CreateNotaDto createDto, int idUsuario);
 | |
|         Task<(bool Exito, string? Error)> ActualizarAsync(int idNota, UpdateNotaDto updateDto, int idUsuario);
 | |
|         Task<(bool Exito, string? Error)> EliminarAsync(int idNota, int idUsuario);
 | |
|     }
 | |
| } |