mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-22 17:58:34 +08:00
22 lines
771 B
C#
22 lines
771 B
C#
using Yi.Framework.Bbs.Application.Contracts.Dtos.Comment;
|
|
using Yi.Framework.Ddd.Application.Contracts;
|
|
|
|
namespace Yi.Framework.Bbs.Application.Contracts.IServices
|
|
{
|
|
/// <summary>
|
|
/// Comment服务抽象
|
|
/// </summary>
|
|
public interface ICommentService : IYiCrudAppService<CommentGetOutputDto, CommentGetListOutputDto, Guid, CommentGetListInputVo, CommentCreateInputVo, CommentUpdateInputVo>
|
|
{
|
|
/// <summary>
|
|
/// 发表评论
|
|
/// </summary>
|
|
/// <param name="input"></param>
|
|
/// <returns></returns>
|
|
/// <exception cref="UserFriendlyException"></exception>
|
|
// [Permission("bbs:comment:add")]
|
|
// [Authorize]
|
|
Task<CommentGetOutputDto> CreateAsync(CommentCreateInputVo input);
|
|
}
|
|
}
|