C# Класс BgEngine.Controllers.CommentController

Наследование: BaseController
Показать файл Открыть проект

Открытые методы

Метод Описание
AnonymousComment ( ) : System.Web.Mvc.PartialViewResult

Retrieve Anonymous Comment fields

CommentController ( IBlogServices blogservices, IService commentservices, IService userservices, IService postservices ) : System

ctor

Приватные методы

Метод Описание
AddComment ( Comment comment ) : System.Web.Mvc.ActionResult
AddRelatedComment ( Comment comment, int parent ) : System.Web.Mvc.ActionResult
ChangeSpamMark ( int id ) : System.Web.Mvc.JsonResult
Create ( ) : System.Web.Mvc.ActionResult
Create ( Comment comment ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ViewResult
Edit ( Comment comment ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetPostComments ( int postid ) : System.Web.Mvc.PartialViewResult
Index ( int page, string sort, string sortdir ) : System.Web.Mvc.ViewResult

Описание методов

AnonymousComment() публичный Метод

Retrieve Anonymous Comment fields
public AnonymousComment ( ) : System.Web.Mvc.PartialViewResult
Результат System.Web.Mvc.PartialViewResult

CommentController() публичный Метод

ctor
public CommentController ( IBlogServices blogservices, IService commentservices, IService userservices, IService postservices ) : System
blogservices IBlogServices Blog Services application methods
commentservices IService Generic Comment Application Services
userservices IService Generic User Service
postservices IService Generic Post Service
Результат System