C# Class BeerDrinkin.Web.Controllers.BeerController

Inheritance: Microsoft.AspNet.Mvc.Controller
Mostrar archivo Open project: MikeCodesDotNet/Beer-Drinkin

Public Methods

Method Description
BeerController ( ApplicationDbContext context ) : System.Linq
Create ( ) : IActionResult
Details ( string id ) : IActionResult
Edit ( string id ) : IActionResult
Index ( ) : IActionResult

Private Methods

Method Description
Create ( Beer beerItem ) : IActionResult
Delete ( string id ) : IActionResult
DeleteConfirmed ( string id ) : IActionResult
Edit ( Beer beerItem ) : IActionResult

Method Details

BeerController() public method

public BeerController ( ApplicationDbContext context ) : System.Linq
context ApplicationDbContext
return System.Linq

Create() public method

public Create ( ) : IActionResult
return IActionResult

Details() public method

public Details ( 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