27 lines
541 B
C#
27 lines
541 B
C#
using LiteDB;
|
|
|
|
using skydiveLogs_api.Model;
|
|
|
|
|
|
namespace skydiveLogs_api.Data.Interface
|
|
{
|
|
public interface IDataProvider
|
|
{
|
|
ILiteCollection<T> GetCollection<T>();
|
|
|
|
void Close();
|
|
|
|
ILiteCollection<Aircraft> CollOfAircraft { get; }
|
|
|
|
ILiteCollection<DropZone> CollOfDropZone { get; }
|
|
|
|
ILiteCollection<Gear> CollOfGear { get; }
|
|
|
|
ILiteCollection<JumpType> CollOfJumpType { get; }
|
|
|
|
ILiteCollection<Jump> CollOfJump { get; }
|
|
|
|
ILiteCollection<User> CollOfUser { get; }
|
|
}
|
|
}
|