using LCU.Library.Internal.LoanRateModels.Enums; namespace LCU.API.Internal.LoanRateLib.Repositories; public interface IRateEvaluationRepository { Task?> FindAsync(); Task FindByIdAsync(int id); Task?> FindRangeByIdAsync(List ids); Task?> FindRangeByEvaluationDetailIdAsync(int evaluationDetailId); Task?> FindByRateSheetIdsAsync(List rateSheetIds); Task AddAsync(RateEvaluation rateEvaluation); Task AddRangeAsync(IEnumerable rateEvaluations); void UpdateRange(IEnumerable rateEvaluations); void Remove(RateEvaluation rateEvaluation); void RemoveRange(IEnumerable rateEvaluations); Task CountByEvaluationDetailIdAsync(int evaluationDetailId); }