Update the repository pattern
This commit is contained in:
12
Back/skydiveLogs-api.Data/Interface/IDataProvider.cs
Normal file
12
Back/skydiveLogs-api.Data/Interface/IDataProvider.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using LiteDB;
|
||||
|
||||
|
||||
namespace skydiveLogs_api.Data.Interface
|
||||
{
|
||||
public interface IDataProvider
|
||||
{
|
||||
LiteCollection<T> GetCollection<T>();
|
||||
|
||||
void Close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user