Update the repository pattern
This commit is contained in:
12
Back/skydiveLogs-api.Data/Interface/IRepository.cs
Normal file
12
Back/skydiveLogs-api.Data/Interface/IRepository.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Data.Interface
|
||||
{
|
||||
public interface IRepository<T>
|
||||
{
|
||||
IEnumerable<T> GetAll();
|
||||
|
||||
T GetById(int id);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user