Files
SkydiveLogs/Back/skydiveLogs-api.Data/Interface/IDataProvider.cs
2020-03-12 12:24:51 +01:00

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