BuecherwurmAPI/Data/IRepository.cs

13 lines
321 B
C#
Raw Normal View History

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