21 lines
527 B
C#
21 lines
527 B
C#
using ReserveManagementSystemLib.Enums;
|
|
using ReserveManagementSystemLib.Models;
|
|
|
|
namespace ReserveManagementSystemApi.Services
|
|
{
|
|
public interface IImportService
|
|
{
|
|
Task<IEnumerable<Import>> GetAllAsync();
|
|
|
|
Task<IEnumerable<Import>> GetRecentAsync(int numberOfImports);
|
|
|
|
Task<Import> GetByIdAsync(int id);
|
|
|
|
Task<Import> AddImportAsync(Import import);
|
|
|
|
Task<Import> UpdateImportAsync(Import import);
|
|
|
|
Task<Import> GetLastLoanImportByType(ImportType importType);
|
|
}
|
|
}
|