Split tables for the stats #6
@@ -0,0 +1,13 @@
|
||||
using skydiveLogs_api.Domain;
|
||||
|
||||
namespace skydiveLogs_api.DomainService.Repositories
|
||||
{
|
||||
public interface IStatsRepository<T> : IRepository<T>
|
||||
{
|
||||
#region Public Methods
|
||||
|
||||
T GetAll(User user);
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsByAircraftRepository : IStatsByAircraftRepository
|
||||
public class StatsByAircraftRepository : IStatsRepository<StatsByAircraft>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsByDzRepository : IStatsByDzRepository
|
||||
public class StatsByDzRepository : IStatsRepository<StatsByDz>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsByGearRepository : IStatsByGearRepository
|
||||
public class StatsByGearRepository : IStatsRepository<StatsByGear>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsByJumpTypeRepository : IStatsByJumpTypeRepository
|
||||
public class StatsByJumpTypeRepository : IStatsRepository<StatsByJumpType>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsByYearByJumpTypeRepository : IStatsByYearByJumpTypeRepository
|
||||
public class StatsByYearByJumpTypeRepository : IStatsRepository<StatsByYearByJumpType>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsByYearRepository : IStatsByYearRepository
|
||||
public class StatsByYearRepository : IStatsRepository<StatsByYear>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsForLastMonthByDzRepository : IStatsForLastMonthByDzRepository
|
||||
public class StatsForLastMonthByDzRepository : IStatsRepository<StatsForLastMonthByDz>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsForLastMonthByJumpTypeRepository : IStatsForLastMonthByJumpTypeRepository
|
||||
public class StatsForLastMonthByJumpTypeRepository : IStatsRepository<StatsForLastMonthByJumpType>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsForLastYearByDzRepository : IStatsForLastYearByDzRepository
|
||||
public class StatsForLastYearByDzRepository : IStatsRepository<StatsForLastYearByDz>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Infrastructure
|
||||
{
|
||||
public class StatsForLastYearByJumpTypeRepository : IStatsForLastYearByJumpTypeRepository
|
||||
public class StatsForLastYearByJumpTypeRepository : IStatsRepository<StatsForLastYearByJumpType>
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user