roadie/Roadie.Api.Services/IStatisticsService.cs
Steven Hildreth 25f4ba2c68 resolves #33
2019-11-17 14:02:19 -06:00

23 lines
No EOL
675 B
C#

using Roadie.Library;
using Roadie.Library.Models.Statistics;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Roadie.Api.Services
{
public interface IStatisticsService
{
Task<OperationResult<LibraryStats>> LibraryStatistics();
Task<OperationResult<IEnumerable<DateAndCount>>> ArtistsByDate();
Task<OperationResult<IEnumerable<DateAndCount>>> ReleasesByDate();
Task<OperationResult<IEnumerable<DateAndCount>>> ReleasesByDecade();
Task<OperationResult<IEnumerable<DateAndCount>>> SongsPlayedByDate();
Task<OperationResult<IEnumerable<DateAndCount>>> SongsPlayedByUser();
}
}