C# Class MainSaite.Controllers.NewsController

Inheritance: BaseController
Show file Open project: CH033dotNET/Taxi

Public Methods

Method Description
DeleteArticle ( int id ) : bool
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
NewsController ( INewsManager newsManager ) : System

Private Methods

Method Description
SaveArticle ( int id, string title, string article ) : bool

Method Details

DeleteArticle() public method

public DeleteArticle ( int id ) : bool
id int
return bool

Edit() public method

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

Index() public method

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

NewsController() public method

public NewsController ( INewsManager newsManager ) : System
newsManager INewsManager
return System