roadie/Roadie.Api.Services/ICommentService.cs

29 lines
1.1 KiB
C#
Raw Normal View History

2019-06-28 21:24:32 +00:00
using Roadie.Library;
using Roadie.Library.Enums;
using Roadie.Library.Models.Users;
using System;
using System.Threading.Tasks;
namespace Roadie.Api.Services
{
public interface ICommentService
{
Task<OperationResult<bool>> AddNewArtistCommentAsync(User user, Guid artistId, string cmt);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> AddNewCollectionCommentAsync(User user, Guid collectionId, string cmt);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> AddNewGenreCommentAsync(User user, Guid genreId, string cmt);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> AddNewLabelCommentAsync(User user, Guid labelId, string cmt);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> AddNewPlaylistCommentAsync(User user, Guid playlistId, string cmt);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> AddNewReleaseCommentAsync(User user, Guid releaseId, string cmt);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> AddNewTrackCommentAsync(User user, Guid trackId, string cmt);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> DeleteCommentAsync(User user, Guid id);
2019-06-28 21:24:32 +00:00
Task<OperationResult<bool>> SetCommentReactionAsync(User user, Guid id, CommentReaction reaction);
2019-06-28 21:24:32 +00:00
}
}