C# Class BgEngine.Controllers.CommentController

Inheritance: BaseController
Afficher le fichier Open project: yagopv/BgEngine

Méthodes publiques

Méthode Description
AnonymousComment ( ) : System.Web.Mvc.PartialViewResult

Retrieve Anonymous Comment fields

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

ctor

Private Methods

Méthode 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 méthode

Retrieve Anonymous Comment fields
public AnonymousComment ( ) : System.Web.Mvc.PartialViewResult
Résultat System.Web.Mvc.PartialViewResult

CommentController() public méthode

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
Résultat System