Files
SkydiveLogs/Back/skydiveLogs-api.Data/Interface/IDataProvider.cs
2020-05-26 17:26:04 +02:00

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; }
}
}