Class RatingPublicController
Inheritance
System.Object
RatingPublicController
Implements
IApplicationService
Assembly: Volo.CmsKit.Public.HttpApi.dll
Syntax
public class RatingPublicController : CmsKitPublicControllerBase, IRatingPublicAppService, IApplicationService
Constructors
RatingPublicController(IRatingPublicAppService)
Declaration
public RatingPublicController(IRatingPublicAppService ratingPublicAppService)
Parameters
Properties
RatingPublicAppService
Declaration
protected IRatingPublicAppService RatingPublicAppService { get; }
Property Value
Methods
Declaration
public virtual Task<RatingDto> CreateAsync(string entityType, string entityId, CreateUpdateRatingInput input)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<RatingDto> |
|
DeleteAsync(String, String)
Declaration
public virtual Task DeleteAsync(string entityType, string entityId)
Parameters
| Type |
Name |
Description |
| System.String |
entityType |
|
| System.String |
entityId |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
GetGroupedStarCountsAsync(String, String)
Declaration
public virtual Task<List<RatingWithStarCountDto>> GetGroupedStarCountsAsync(string entityType, string entityId)
Parameters
| Type |
Name |
Description |
| System.String |
entityType |
|
| System.String |
entityId |
|
Returns
Implements
IApplicationService
Extension Methods