31 lines
685 B
C#
31 lines
685 B
C#
using LiteDB;
|
|
|
|
using skydiveLogs_api.Domain;
|
|
|
|
|
|
namespace skydiveLogs_api.Infrastructure.Interfaces
|
|
{
|
|
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<UserImage> CollOfImage { get; }
|
|
|
|
ILiteCollection<FavoriteDropZone> CollOfFavoriteDropZone { get; }
|
|
}
|
|
}
|