C# Class MainSaite.Controllers.NewsController

Inheritance: BaseController
Afficher le fichier Open project: CH033dotNET/Taxi

Méthodes publiques

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

Private Methods

Méthode Description
SaveArticle ( int id, string title, string article ) : bool

Method Details

DeleteArticle() public méthode

public DeleteArticle ( int id ) : bool
id int
Résultat bool

Edit() public méthode

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

Index() public méthode

public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

NewsController() public méthode

public NewsController ( INewsManager newsManager ) : System
newsManager INewsManager
Résultat System