C# Class Application.Web.Controllers.CommentsAdministrationController

Inheritance: BaseController
Show file Open project: nzhul/TelerikAcademy

Public Methods

Method Description
DestroyComment ( [ request, CommentViewModel comment ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
ReadAllComments ( [ request ) : System.Web.Mvc.JsonResult
UpdateComment ( [ request, CommentViewModel comment ) : System.Web.Mvc.JsonResult

Method Details

DestroyComment() public method

public DestroyComment ( [ request, CommentViewModel comment ) : System.Web.Mvc.JsonResult
request [
comment Application.Web.Models.CommentViewModel
return System.Web.Mvc.JsonResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ReadAllComments() public method

public ReadAllComments ( [ request ) : System.Web.Mvc.JsonResult
request [
return System.Web.Mvc.JsonResult

UpdateComment() public method

public UpdateComment ( [ request, CommentViewModel comment ) : System.Web.Mvc.JsonResult
request [
comment Application.Web.Models.CommentViewModel
return System.Web.Mvc.JsonResult