Files
monorepo/LCU.WebApps.Indirect.ReserveManagementSystem/Api/ReserveManagementSystemApi/Services/IAuditHistoryService.cs
T
2026-03-17 08:54:34 -05:00

26 lines
826 B
C#

using ReserveManagementSystemLib.Models;
namespace ReserveManagementSystemApi.Services
{
public interface IAuditHistoryService
{
Task<IEnumerable<AuditHistory>> GetAllAsync();
Task<AuditHistory> FindByIdAsync(int id);
Task<AuditHistory> AddHistoryAsync(AuditHistory history);
Task<int> AddAuditHistoriesForNonexistingLoansAsync(List<Loan> loans);
AuditHistory GetExistingLoanUpdateHistoryAsync(Loan loan, Loan originalLoan);
AuditHistory GetAuditHistoryForNonexistingClosedLoan(Loan loan);
AuditHistory GetLoanStatusChangeHistory(Loan loan, string oldStatus, string description);
Task<int> AddHistoriesAsync(List<AuditHistory> histories);
Task AddErrorHistoryAsync(string memberNumber, string loanNumber, string description);
}
}