C# Class BgEngine.Controllers.ThemeController

Inheritance: BaseController
Show file Open project: yagopv/BgEngine

Public Methods

Method Description
ChangeTheme ( string returnurl ) : System.Web.Mvc.ActionResult

This action gets the Partial View with the available Themes

SetThemeCookie ( string theme, string returnurl ) : System.Web.Mvc.ActionResult

Set the cookie storing theme selected by the user

Method Details

ChangeTheme() public method

This action gets the Partial View with the available Themes
public ChangeTheme ( string returnurl ) : System.Web.Mvc.ActionResult
returnurl string
return System.Web.Mvc.ActionResult

SetThemeCookie() public method

Set the cookie storing theme selected by the user
public SetThemeCookie ( string theme, string returnurl ) : System.Web.Mvc.ActionResult
theme string The name of the Theme stored in Themes folder
returnurl string
return System.Web.Mvc.ActionResult