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
|
|
|
|
|
|
|
namespace BuecherwurmAPI.Data
|
|
|
|
{
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|