mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 22:20:21 +00:00
19 lines
No EOL
829 B
C#
19 lines
No EOL
829 B
C#
using Roadie.Library;
|
|
using Roadie.Library.Identity;
|
|
using Roadie.Library.Models.Pagination;
|
|
using Roadie.Library.Models.Users;
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Roadie.Api.Services
|
|
{
|
|
public interface IUserService
|
|
{
|
|
Task<PagedResult<UserList>> List(PagedRequest request);
|
|
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);
|
|
Task<OperationResult<bool>> SetArtistFavorite(Guid artistId, User roadieUser, bool isFavorite);
|
|
Task<OperationResult<bool>> SetReleaseFavorite(Guid releaseId, User roadieUser, bool isFavorite);
|
|
}
|
|
} |