C# Class Daniel15.Web.Controllers.SiteController

Controller for the home page as well as a few auxiliary pages.
Inheritance: Controller
Show file Open project: Daniel15/Website

Public Methods

Method Description
Projects ( ) : System.Web.Mvc.ActionResult

Redirects to the new projects page

Search ( ) : System.Web.Mvc.ActionResult

Renders the Google search box.

SiteController ( IBlogRepository blogRepository ) : System.Net

Initializes a new instance of the SiteController class.

SocialFeed ( int count = 25, int before_date = null ) : System.Web.Mvc.ActionResult

A feed of all the stuff I've done on the interwebs.

Private Methods

Method Description
Alive ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Method Details

Projects() public method

Redirects to the new projects page
public Projects ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Search() public method

Renders the Google search box.
public Search ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

SiteController() public method

Initializes a new instance of the SiteController class.
public SiteController ( IBlogRepository blogRepository ) : System.Net
blogRepository IBlogRepository The blog post repository.
return System.Net

SocialFeed() public method

A feed of all the stuff I've done on the interwebs.
public SocialFeed ( int count = 25, int before_date = null ) : System.Web.Mvc.ActionResult
count int
before_date int
return System.Web.Mvc.ActionResult