Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IReviewTypeService.cs

using Nop.Core.Domain.Catalog;

namespace Nop.Services.Catalog;

/// 
/// Review type service interface
/// 
public partial interface IReviewTypeService
{
    #region ReviewType

    /// 
    /// Delete the review type
    /// 
    /// Review type
    /// A task that represents the asynchronous operation
    Task DeleteReviewTypeAsync(ReviewType reviewType);

    /// 
    /// Get all review types
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the review types
    /// 
    Task> GetAllReviewTypesAsync();

    /// 
    /// Get the review type 
    /// 
    /// Review type identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the review type
    /// 
    Task GetReviewTypeByIdAsync(int reviewTypeId);

    /// 
    /// Insert the review type
    /// 
    /// Review type
    /// A task that represents the asynchronous operation
    Task InsertReviewTypeAsync(ReviewType reviewType);

    /// 
    /// Update the review type
    /// 
    /// Review type
    /// A task that represents the asynchronous operation
    Task UpdateReviewTypeAsync(ReviewType reviewType);

    #endregion

    #region ProductReviewReviewTypeMapping

    /// 
    /// Get product review and review type mappings by product review identifier
    /// 
    /// The product review identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product review and review type mapping collection
    /// 
    Task> GetProductReviewReviewTypeMappingsByProductReviewIdAsync(int productReviewId);

    /// 
    /// Inserts a product review and review type mapping
    /// 
    /// Product review and review type mapping
    /// A task that represents the asynchronous operation
    Task InsertProductReviewReviewTypeMappingsAsync(ProductReviewReviewTypeMapping productReviewReviewType);

    #endregion
}