roadie/RoadieApi/Services/IUserService.cs

17 lines
619 B
C#
Raw Normal View History

2018-12-01 03:22:35 +00:00
using Roadie.Library;
using Roadie.Library.Identity;
using Roadie.Library.Models.Pagination;
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;
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);
}
}