2020-05-28 14:14:36 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using BuecherwurmAPI.Models;
|
2020-05-29 09:18:23 +00:00
|
|
|
using Microsoft.EntityFrameworkCore.Metadata.Conventions;
|
2020-05-28 14:14:36 +00:00
|
|
|
|
2020-06-02 09:16:45 +00:00
|
|
|
namespace BuecherwurmAPI.Models
|
2020-05-28 14:14:36 +00:00
|
|
|
{
|
|
|
|
public interface IRepository
|
|
|
|
{
|
|
|
|
IEnumerable<Lend> GetAllLends();
|
2020-05-29 09:18:23 +00:00
|
|
|
Lend GetLendById(long id);
|
|
|
|
bool IdExits(string table, long id);
|
2020-05-28 14:14:36 +00:00
|
|
|
}
|
|
|
|
}
|