C# Class BgEngine.Controllers.SubscriptionController

Inheritance: BaseController
Mostra file Open project: yagopv/BgEngine

Public Methods

Method Description
ConfirmSubscription ( string token, string email ) : System.Web.Mvc.ActionResult
ConfirmSubscriptionSuccesfull ( ) : System.Web.Mvc.ActionResult
SubscriptionController ( ISubscriptionServices subscriptionservices ) : System
UnSubscribe ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
ConfirmSubscriptionForm ( ) : System.Web.Mvc.ActionResult
ConfirmSubscriptionForm ( ConfirmationSubscriptionModel model ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Create ( BgEngine.Web.ViewModels.SubscriptionViewModel subscription ) : 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 ( Subscription subscription ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( int page, string sort, string sortdir ) : System.Web.Mvc.ViewResult
SubscribeToNewsletter ( ) : System.Web.Mvc.ActionResult
SubscribeToNewsletter ( BgEngine.Web.ViewModels.SubscriptionViewModel subscription ) : System.Web.Mvc.JsonResult
UnSubscribe ( UnsubscribeViewModel model ) : System.Web.Mvc.ActionResult

Method Details

ConfirmSubscription() public method

public ConfirmSubscription ( string token, string email ) : System.Web.Mvc.ActionResult
token string
email string
return System.Web.Mvc.ActionResult

ConfirmSubscriptionSuccesfull() public method

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

SubscriptionController() public method

public SubscriptionController ( ISubscriptionServices subscriptionservices ) : System
subscriptionservices ISubscriptionServices
return System

UnSubscribe() public method

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