C# Class ContosoUniversity.Controllers.DepartmentController

Inheritance: Controller
Exibir arquivo Open project: pivotalservices/contoso-university

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id, bool concurrencyError ) : Task
Details ( int id ) : Task
Edit ( int id ) : Task
Index ( ) : Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Create ( [ Include = "DepartmentID,Name,Budget,StartDate,InstructorID")]Departmentdepartment ) : Task
Delete ( ContosoUniversity.Models.Department department ) : Task
Edit ( int id, byte rowVersion ) : Task

Method Details

Create() public method

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

Delete() public method

public Delete ( int id, bool concurrencyError ) : Task
id int
concurrencyError bool
return Task

Details() public method

public Details ( int id ) : Task
id int
return Task

Dispose() protected method

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

Edit() public method

public Edit ( int id ) : Task
id int
return Task

Index() public method

public Index ( ) : Task
return Task