18 lines
357 B
C#
18 lines
357 B
C#
using ReserveManagementSystemLib.Models;
|
|
|
|
namespace ReserveManagementSystemLib.Repositories
|
|
{
|
|
public interface ILoanRepository
|
|
{
|
|
IQueryable<Loan> GetAll();
|
|
|
|
IQueryable<Loan> GetAllWithoutDealer();
|
|
|
|
Task<Loan> FindByIdAsync(int id);
|
|
|
|
Loan Add(Loan loan);
|
|
|
|
Task UpdateAsync(IEnumerable<Loan> loans);
|
|
}
|
|
}
|