Reviewed-on: #6 Co-authored-by: sandre <perso@sebastienandre.com> Co-committed-by: sandre <perso@sebastienandre.com>
59 lines
1.6 KiB
C#
59 lines
1.6 KiB
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<User> CollOfUser { get; }
|
|
|
|
ILiteCollection<TunnelFlight> CollOfTunnelFlight { get; }
|
|
|
|
ILiteCollection<StatsByAircraft> CollOfStatsByAircraft { get; }
|
|
|
|
ILiteCollection<StatsByDz> CollOfStatsByDz { get; }
|
|
|
|
ILiteCollection<StatsByGear> CollOfStatsByGear { get; }
|
|
|
|
ILiteCollection<StatsByJumpType> CollOfStatsByJumpType { get; }
|
|
|
|
ILiteCollection<StatsByYear> CollOfStatsByYear { get; }
|
|
|
|
ILiteCollection<StatsForLastMonthByDz> CollOfStatsForLastMonthByDz { get; }
|
|
|
|
ILiteCollection<StatsForLastMonthByJumpType> CollOfStatsForLastMonthByJumpType { get; }
|
|
|
|
ILiteCollection<StatsForLastYearByDz> CollOfStatsForLastYearByDz { get; }
|
|
|
|
ILiteCollection<StatsForLastYearByJumpType> CollOfStatsForLastYearByJumpType { get; }
|
|
|
|
ILiteCollection<StatsByYearByJumpType> CollOfStatsByYearByJumpType { get; }
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |