roadie/Roadie.Api.Services/IPlayActivityService.cs

19 lines
607 B
C#
Raw Normal View History

2018-11-17 02:14:32 +00:00
using Roadie.Library;
using Roadie.Library.Models;
using Roadie.Library.Models.Pagination;
using Roadie.Library.Models.Users;
using Roadie.Library.Scrobble;
2018-11-25 20:43:52 +00:00
using System;
2018-11-16 03:37:00 +00:00
using System.Threading.Tasks;
namespace Roadie.Api.Services
{
public interface IPlayActivityService
{
Task<PagedResult<PlayActivityList>> ListAsync(PagedRequest request, User roadieUser = null, DateTime? newerThan = null);
2019-06-30 22:14:36 +00:00
Task<OperationResult<bool>> NowPlayingAsync(User roadieUser, ScrobbleInfo scrobble);
2019-06-30 22:14:36 +00:00
Task<OperationResult<bool>> ScrobbleAsync(User roadieUser, ScrobbleInfo scrobble);
}
}