19 lines
460 B
C#
19 lines
460 B
C#
using ReserveManagementSystemLib.Enums;
|
|
using ReserveManagementSystemLib.Models;
|
|
|
|
namespace ReserveManagementSystemLib.Repositories
|
|
{
|
|
public interface IImportRepository
|
|
{
|
|
IQueryable<Import> GetAll();
|
|
|
|
Task<Import> FindByIdAsync(int id);
|
|
|
|
Task<Import> AddImportAsync(Import import);
|
|
|
|
Task<Import> UpdateImportAsync(Import import);
|
|
|
|
IQueryable<Import> GetLastLoanDnaImportByType(ImportType importType);
|
|
}
|
|
}
|