BuecherwurmAPI/Models/IRepository.cs

13 lines
323 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
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();
Lend GetLendById(long id);
bool IdExits(string table, long id);
2020-05-28 14:14:36 +00:00
}
}