roadie/Roadie.Api.Services/IStatisticsService.cs

23 lines
698 B
C#
Raw Normal View History

using Roadie.Library;
2018-11-12 00:28:37 +00:00
using Roadie.Library.Models.Statistics;
2018-12-09 03:16:05 +00:00
using System.Collections.Generic;
using System.Threading.Tasks;
2018-11-12 00:28:37 +00:00
namespace Roadie.Api.Services
{
public interface IStatisticsService
{
2019-11-17 20:02:19 +00:00
Task<OperationResult<IEnumerable<DateAndCount>>> ArtistsByDateAsync();
Task<OperationResult<LibraryStats>> LibraryStatisticsAsync();
2019-01-08 22:40:26 +00:00
Task<OperationResult<IEnumerable<DateAndCount>>> ReleasesByDateAsync();
2019-11-17 20:02:19 +00:00
Task<OperationResult<IEnumerable<DateAndCount>>> ReleasesByDecadeAsync();
2019-11-17 20:02:19 +00:00
Task<OperationResult<IEnumerable<DateAndCount>>> SongsPlayedByDateAsync();
2019-11-17 20:02:19 +00:00
Task<OperationResult<IEnumerable<DateAndCount>>> SongsPlayedByUserAsync();
2019-11-17 20:02:19 +00:00
2018-11-12 00:28:37 +00:00
}
}