Adding
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user