Show / Hide Table of Contents

Class CommentsController

Inheritance
System.Object
BloggingControllerBase
CommentsController
Namespace: Volo.Blogging.Areas.Blog.Controllers
Assembly: Volo.Blogging.Web.dll
Syntax
[Area("Blog")]
[Route("Blog/[controller]/[action]")]
public class CommentsController : BloggingControllerBase

Constructors

CommentsController(ICommentAppService)

Declaration
public CommentsController(ICommentAppService commentAppService)
Parameters
Type Name Description
ICommentAppService commentAppService

Methods

Delete(Guid)

Declaration
[HttpPost]
public Task Delete(Guid id)
Parameters
Type Name Description
System.Guid id
Returns
Type Description
System.Threading.Tasks.Task

Update(Guid, UpdateCommentDto)

Declaration
[HttpPost]
public Task Update(Guid id, UpdateCommentDto commentDto)
Parameters
Type Name Description
System.Guid id
UpdateCommentDto commentDto
Returns
Type Description
System.Threading.Tasks.Task

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft