Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
779 B

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Volo.Abp.Domain.Repositories;
namespace Volo.CmsKit.Reactions
{
public interface IUserReactionRepository : IBasicRepository<UserReaction, Guid>
{
Task<UserReaction> FindAsync(
Guid userId,
[NotNull] string entityType,
[NotNull] string entityId,
[NotNull] string reactionName);
Task<List<UserReaction>> GetListForUserAsync(
Guid userId,
[NotNull] string entityType,
[NotNull] string entityId);
Task<List<ReactionSummaryQueryResultItem>> GetSummariesAsync(
[NotNull] string entityType,
[NotNull] string entityId);
}
}