2018-12-01 03:22:35 +00:00
|
|
|
|
using Roadie.Library;
|
|
|
|
|
using Roadie.Library.Identity;
|
|
|
|
|
using Roadie.Library.Models.Pagination;
|
2018-11-15 15:10:29 +00:00
|
|
|
|
using Roadie.Library.Models.Users;
|
2018-12-01 03:22:35 +00:00
|
|
|
|
using System;
|
2018-11-16 03:37:00 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2018-11-15 15:10:29 +00:00
|
|
|
|
|
|
|
|
|
namespace Roadie.Api.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IUserService
|
|
|
|
|
{
|
|
|
|
|
Task<PagedResult<UserList>> List(PagedRequest request);
|
2018-12-01 14:57:27 +00:00
|
|
|
|
Task<OperationResult<short>> SetReleaseRating(Guid releaseId, User roadieUser, short rating);
|
|
|
|
|
Task<OperationResult<short>> SetArtistRating(Guid artistId, User roadieUser, short rating);
|
|
|
|
|
Task<OperationResult<short>> SetTrackRating(Guid trackId, User roadieUser, short rating);
|
2018-11-15 15:10:29 +00:00
|
|
|
|
}
|
|
|
|
|
}
|