C# Class OpenLan.Web.Areas.Admin.Controllers.ProductController

Inheritance: Microsoft.AspNet.Mvc.Controller
Mostrar archivo Open project: scarpentier/OpenLan

Public Methods

Method Description
Create ( ) : IActionResult
Delete ( string id ) : IActionResult
Edit ( string id ) : IActionResult
Index ( ) : IActionResult
ProductController ( OpenLanContext context ) : Microsoft.AspNet.Mvc

Private Methods

Method Description
Create ( Product product ) : Task
DeleteConfirmed ( string id ) : Task
Edit ( Product product ) : Task

Method Details

Create() public method

public Create ( ) : IActionResult
return IActionResult

Delete() public method

public Delete ( string id ) : IActionResult
id string
return IActionResult

Edit() public method

public Edit ( string id ) : IActionResult
id string
return IActionResult

Index() public method

public Index ( ) : IActionResult
return IActionResult

ProductController() public method

public ProductController ( OpenLanContext context ) : Microsoft.AspNet.Mvc
context OpenLanContext
return Microsoft.AspNet.Mvc