C# Class BgEngine.Controllers.NewsletterController

Inheritance: BaseController
Exibir arquivo Open project: yagopv/BgEngine

Public Methods

Method Description
GetNewsletter ( int id ) : System.Web.Mvc.ActionResult
GetPostsForNewsletter ( int page ) : System.Web.Mvc.ActionResult
NewsletterController ( INewsletterServices newsletterservices, IBlogServices blogservices, IService postservices ) : System

Private Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Create ( string name, int posts ) : 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 ( Newsletter newsletter ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( int page, string sort, string sortdir ) : System.Web.Mvc.ViewResult

Method Details

GetNewsletter() public method

public GetNewsletter ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

GetPostsForNewsletter() public method

public GetPostsForNewsletter ( int page ) : System.Web.Mvc.ActionResult
page int
return System.Web.Mvc.ActionResult

NewsletterController() public method

public NewsletterController ( INewsletterServices newsletterservices, IBlogServices blogservices, IService postservices ) : System
newsletterservices INewsletterServices
blogservices IBlogServices
postservices IService
return System