C# Class Worki.Web.Areas.Admin.Controllers.ActivityController

Inheritance: AdminControllerBase
Datei anzeigen Open project: tah91/eworkyWebSite

Private Properties

Property Type Description
ActivityController System
CreatePress System.Web.Mvc.ActionResult
CreatePress System.Web.Mvc.ActionResult
CreateWelcomePeople System.Web.Mvc.ActionResult
CreateWelcomePeople System.Web.Mvc.ActionResult
DeletePress System.Web.Mvc.ActionResult
DeletePress System.Web.Mvc.ActionResult
DeletePress System.Web.Mvc.ActionResult
DeleteWelcomePeople System.Web.Mvc.ActionResult
DeleteWelcomePeople System.Web.Mvc.ActionResult
DeleteWelcomePeople System.Web.Mvc.ActionResult
DetailPress System.Web.Mvc.ActionResult
DetailWelcomePeople System.Web.Mvc.ActionResult
EditPress System.Web.Mvc.ActionResult
EditPress System.Web.Mvc.ActionResult
EditPress System.Web.Mvc.ActionResult
EditWelcomePeople System.Web.Mvc.ActionResult
EditWelcomePeople System.Web.Mvc.ActionResult
EditWelcomePeople System.Web.Mvc.ActionResult
IndexPress System.Web.Mvc.ActionResult
IndexWelcomePeople System.Web.Mvc.ActionResult
OnOffline System.Web.Mvc.ActionResult
RedirectToAction System.Web.Mvc.RedirectToRouteResult
WelcomePeopleLine System.Web.Mvc.ActionResult
WelcomePeopleLine System.Web.Mvc.ActionResult

Public Methods

Method Description
ActivityController ( ILogger logger, IEmailService emailService ) : System
DetailPress ( int id ) : System.Web.Mvc.ActionResult

Prepares a web page containing the details of a Press

DetailWelcomePeople ( int id ) : System.Web.Mvc.ActionResult

Prepares a web page containing the details of a WelcomePeople

IndexPress ( int page ) : System.Web.Mvc.ActionResult

Prepares a web page containing a paginated list of the press on home page

IndexWelcomePeople ( int page ) : System.Web.Mvc.ActionResult

Prepares a web page containing a paginated list of the people on home page

OnOffline ( int id ) : System.Web.Mvc.ActionResult
RefreshBlog ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
ActivityController ( Dummy d ) : System
CreatePress ( ) : System.Web.Mvc.ActionResult
CreatePress ( Press formModel ) : System.Web.Mvc.ActionResult
CreateWelcomePeople ( ) : System.Web.Mvc.ActionResult
CreateWelcomePeople ( WelcomePeopleFormViewModel formModel ) : System.Web.Mvc.ActionResult
DeletePress ( ) : System.Web.Mvc.ActionResult
DeletePress ( int id ) : System.Web.Mvc.ActionResult
DeletePress ( int id, string returnUrl ) : System.Web.Mvc.ActionResult
DeleteWelcomePeople ( ) : System.Web.Mvc.ActionResult
DeleteWelcomePeople ( int id ) : System.Web.Mvc.ActionResult
DeleteWelcomePeople ( int id, string returnUrl ) : System.Web.Mvc.ActionResult
DetailPress ( ) : System.Web.Mvc.ActionResult
DetailWelcomePeople ( ) : System.Web.Mvc.ActionResult
EditPress ( ) : System.Web.Mvc.ActionResult
EditPress ( int id ) : System.Web.Mvc.ActionResult
EditPress ( int id, Press formModel ) : System.Web.Mvc.ActionResult
EditWelcomePeople ( ) : System.Web.Mvc.ActionResult
EditWelcomePeople ( int id ) : System.Web.Mvc.ActionResult
EditWelcomePeople ( int id, WelcomePeopleFormViewModel formModel ) : System.Web.Mvc.ActionResult
IndexPress ( ) : System.Web.Mvc.ActionResult
IndexWelcomePeople ( ) : System.Web.Mvc.ActionResult
OnOffline ( ) : System.Web.Mvc.ActionResult
RedirectToAction ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult
WelcomePeopleLine ( System.Web.Mvc.FormCollection collection, string returnUrl ) : System.Web.Mvc.ActionResult
WelcomePeopleLine ( ) : System.Web.Mvc.ActionResult

Method Details

ActivityController() public method

public ActivityController ( ILogger logger, IEmailService emailService ) : System
logger ILogger
emailService IEmailService
return System

DetailPress() public method

Prepares a web page containing the details of a Press
public DetailPress ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

DetailWelcomePeople() public method

Prepares a web page containing the details of a WelcomePeople
public DetailWelcomePeople ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

IndexPress() public method

Prepares a web page containing a paginated list of the press on home page
public IndexPress ( int page ) : System.Web.Mvc.ActionResult
page int The page to display
return System.Web.Mvc.ActionResult

IndexWelcomePeople() public method

Prepares a web page containing a paginated list of the people on home page
public IndexWelcomePeople ( int page ) : System.Web.Mvc.ActionResult
page int The page to display
return System.Web.Mvc.ActionResult

OnOffline() public method

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

RefreshBlog() public method

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