C# Class Catbert4.Controllers.SchoolController

Controller for the School class
Inheritance: ApplicationControllerBase
显示文件 Open project: ucdavis/Catbert

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Delete ( string id ) : System.Web.Mvc.ActionResult
Details ( string id ) : System.Web.Mvc.ActionResult
Edit ( string id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
SchoolController ( string>.IRepositoryWithTypedId schoolRepository, IRepository unitRepository ) : System

Private Methods

Method Description
Create ( School school ) : System.Web.Mvc.ActionResult
Delete ( string id, School school ) : System.Web.Mvc.ActionResult
Edit ( string id, School school ) : 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 ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult

Details() public method

public Details ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult

Edit() public method

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

Index() public method

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

SchoolController() public method

public SchoolController ( string>.IRepositoryWithTypedId schoolRepository, IRepository unitRepository ) : System
schoolRepository string>.IRepositoryWithTypedId
unitRepository IRepository
return System