Interface IRatingPublicAppService
Assembly: Volo.CmsKit.Public.Application.Contracts.dll
Syntax
public interface IRatingPublicAppService : IApplicationService
Methods
Declaration
Task<RatingDto> CreateAsync(string entityType, string entityId, CreateUpdateRatingInput input)
Parameters
Returns
DeleteAsync(String, String)
Declaration
Task DeleteAsync(string entityType, string entityId)
Parameters
Type |
Name |
Description |
System.String |
entityType |
|
System.String |
entityId |
|
Returns
GetCurrentUserRatingAsync(String, String)
Declaration
Task<RatingDto> GetCurrentUserRatingAsync(string entityType, string entityId)
Parameters
Type |
Name |
Description |
System.String |
entityType |
|
System.String |
entityId |
|
Returns
GetGroupedStarCountsAsync(String, String)
Declaration
Task<List<RatingWithStarCountDto>> GetGroupedStarCountsAsync(string entityType, string entityId)
Parameters
Type |
Name |
Description |
System.String |
entityType |
|
System.String |
entityId |
|
Returns
Extension Methods