29 lines
594 B
C#
29 lines
594 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; }
|
|
|
|
ILiteCollection<Image> CollOfImage { get; }
|
|
}
|
|
}
|