C# Class tmf.web.Controllers.RestaurantsController

Inheritance: Controller
Afficher le fichier Open project: tomsdev/youfood-aspmvc

Méthodes publiques

Méthode Description
Create ( ) : System.Web.Mvc.ActionResult
Delete ( System id ) : System.Web.Mvc.ActionResult
Details ( System id ) : System.Web.Mvc.ViewResult
Edit ( System id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ViewResult
RestaurantsController ( ) : System
RestaurantsController ( IRestaurantRepository restaurantRepository ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Create ( Restaurant restaurant ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( System id ) : System.Web.Mvc.ActionResult
Edit ( Restaurant restaurant ) : System.Web.Mvc.ActionResult

Method Details

Create() public méthode

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

Delete() public méthode

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

Details() public méthode

public Details ( System id ) : System.Web.Mvc.ViewResult
id System
Résultat System.Web.Mvc.ViewResult

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Edit() public méthode

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

Index() public méthode

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

RestaurantsController() public méthode

public RestaurantsController ( ) : System
Résultat System

RestaurantsController() public méthode

public RestaurantsController ( IRestaurantRepository restaurantRepository ) : System
restaurantRepository IRestaurantRepository
Résultat System