C# Class BgEngine.Controllers.CommentController

Inheritance: BaseController
显示文件 Open project: yagopv/BgEngine

Public Methods

Method Description
AnonymousComment ( ) : System.Web.Mvc.PartialViewResult

Retrieve Anonymous Comment fields

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

ctor

Private Methods

Method Description
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

Method Details

AnonymousComment() public method

Retrieve Anonymous Comment fields
public AnonymousComment ( ) : System.Web.Mvc.PartialViewResult
return System.Web.Mvc.PartialViewResult

CommentController() public method

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
return System