C# Class AdventureWorks.Controllers.DepartmentsController

Inheritance: Controller
Afficher le fichier Open project: rowanmiller/Demo-EF6Advanced Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ) : System.Web.Mvc.ActionResult
Delete ( short id ) : System.Web.Mvc.ActionResult
DepartmentsController ( AdventureWorks.Models.AdventureWorksContext context ) : System
Details ( short id ) : System.Web.Mvc.ActionResult
Edit ( short id ) : System.Web.Mvc.ActionResult
Index ( ) : Task

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Create ( [ Include = "DepartmentID,Name,GroupName,ModifiedDate")]Departmentdepartment ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( short id ) : System.Web.Mvc.ActionResult
Edit ( [ Include = "DepartmentID,Name,GroupName,ModifiedDate")]Departmentdepartment ) : 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 ( short id ) : System.Web.Mvc.ActionResult
id short
Résultat System.Web.Mvc.ActionResult

DepartmentsController() public méthode

public DepartmentsController ( AdventureWorks.Models.AdventureWorksContext context ) : System
context AdventureWorks.Models.AdventureWorksContext
Résultat System

Details() public méthode

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

Dispose() protected méthode

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

Edit() public méthode

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

Index() public méthode

public Index ( ) : Task
Résultat Task