C# Class tmf.web.Controllers.RestaurantsController

Inheritance: Controller
Datei anzeigen Open project: tomsdev/youfood-aspmvc

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

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

Delete() public method

public Delete ( System id ) : System.Web.Mvc.ActionResult
id System
return System.Web.Mvc.ActionResult

Details() public method

public Details ( System id ) : System.Web.Mvc.ViewResult
id System
return System.Web.Mvc.ViewResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Edit() public method

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

Index() public method

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

RestaurantsController() public method

public RestaurantsController ( ) : System
return System

RestaurantsController() public method

public RestaurantsController ( IRestaurantRepository restaurantRepository ) : System
restaurantRepository IRestaurantRepository
return System