Files
SkydiveLogs/Back/skydiveLogs-api.Infrastructure/Interfaces/IDataProvider.cs
2021-08-11 22:37:14 +02:00

34 lines
875 B
C#

using LiteDB;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Infrastructure.Interfaces
{
public interface IDataProvider
{
#region Public Methods
void Close();
ILiteCollection<T> GetCollection<T>();
#endregion Public Methods
#region Public Properties
ILiteCollection<Aircraft> CollOfAircraft { get; }
ILiteCollection<DropZone> CollOfDropZone { get; }
ILiteCollection<FavoriteDropZone> CollOfFavoriteDropZone { get; }
ILiteCollection<Gear> CollOfGear { get; }
ILiteCollection<UserImage> CollOfImage { get; }
ILiteCollection<Jump> CollOfJump { get; }
ILiteCollection<JumpType> CollOfJumpType { get; }
ILiteCollection<UserStats> CollOfStats { get; }
ILiteCollection<User> CollOfUser { get; }
#endregion Public Properties
}
}