mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-10 04:52:42 +01:00
25 lines
679 B
C#
25 lines
679 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace NzbDrone.Core.SeriesStats
|
|||
|
{
|
|||
|
public interface ISeriesStatisticsService
|
|||
|
{
|
|||
|
List<SeriesStatistics> SeriesStatistics();
|
|||
|
}
|
|||
|
|
|||
|
public class SeriesStatisticsService : ISeriesStatisticsService
|
|||
|
{
|
|||
|
private readonly SeriesStatisticsRepository _seriesStatisticsRepository;
|
|||
|
|
|||
|
public SeriesStatisticsService(SeriesStatisticsRepository seriesStatisticsRepository)
|
|||
|
{
|
|||
|
_seriesStatisticsRepository = seriesStatisticsRepository;
|
|||
|
}
|
|||
|
|
|||
|
public List<SeriesStatistics> SeriesStatistics()
|
|||
|
{
|
|||
|
return _seriesStatisticsRepository.SeriesStatistics();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|