Ya perdí el hilo de los cambios pero ahi van.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using GestionIntegral.Api.Models.Contables;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GestionIntegral.Api.Data.Repositories.Contables
|
||||
{
|
||||
public interface INotaCreditoDebitoRepository
|
||||
{
|
||||
Task<IEnumerable<NotaCreditoDebito>> GetAllAsync(
|
||||
DateTime? fechaDesde, DateTime? fechaHasta,
|
||||
string? destino, int? idDestino, int? idEmpresa, string? tipoNota);
|
||||
|
||||
Task<NotaCreditoDebito?> GetByIdAsync(int idNota);
|
||||
Task<NotaCreditoDebito?> CreateAsync(NotaCreditoDebito nuevaNota, int idUsuario, IDbTransaction transaction);
|
||||
Task<bool> UpdateAsync(NotaCreditoDebito notaAActualizar, int idUsuario, IDbTransaction transaction);
|
||||
Task<bool> DeleteAsync(int idNota, int idUsuario, IDbTransaction transaction);
|
||||
// No se suele validar unicidad por referencia, ya que podría repetirse.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user