Files
monorepo/LCU.API.Internal.RepoApi/LCU.API.Internal.RepoApi.Repos/Repositories/ICollateralRepository.cs
T
2026-03-13 09:27:34 -05:00

16 lines
542 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using LCU.API.Internal.RepoApi.Repos.Models;
namespace LCU.API.Internal.RepoApi.Repos.Repositories
{
public interface ICollateralRepository
{
Task<IEnumerable<Collateral>> ListAllAsync();
Task<Collateral> AddAsync(Collateral collateral);
Task<Collateral> FindByIdAsync(int id);
Task<IEnumerable<Collateral>> FindByRepoIdAsync(int repoId);
void Update(Collateral collateral);
void Remove(Collateral collateral);
}
}