Files
SkydiveLogs/Back/skydiveLogs-api.Infrastructure/Interfaces/IDataProvider.cs
2021-03-24 18:04:08 +01:00

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