C# Class Gramps.Controllers.InvestigatorController

Inheritance: ApplicationController
显示文件 Open project: ucdavis/Gramps Class Usage Examples

Public Methods

Method Description
Create ( System.Guid id ) : System.Web.Mvc.ActionResult

#1 GET: /Investigator/Create

Edit ( int id, System.Guid proposalId ) : System.Web.Mvc.ActionResult

#3 GET: /Investigator/Edit/5

InvestigatorController ( IRepository investigatorRepository, IRepository proposalRepository ) : System

Private Methods

Method Description
Create ( System.Guid id, Investigator investigator ) : System.Web.Mvc.ActionResult
Delete ( int investigatorId, System.Guid proposalId ) : System.Web.Mvc.ActionResult
Edit ( int id, System.Guid proposalId, Investigator investigator ) : System.Web.Mvc.ActionResult
RedirectCheck ( InvestigatorController investigatorController, Proposal proposal, Investigator investigator, System.Guid proposalId, string action, bool extraCheck = true, string discriptor = "for" ) : System.Web.Mvc.ActionResult
TransferValues ( Investigator source, Investigator destination ) : void

Transfer editable values from source to destination

Method Details

Create() public method

#1 GET: /Investigator/Create
public Create ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
return System.Web.Mvc.ActionResult

Edit() public method

#3 GET: /Investigator/Edit/5
public Edit ( int id, System.Guid proposalId ) : System.Web.Mvc.ActionResult
id int
proposalId System.Guid
return System.Web.Mvc.ActionResult

InvestigatorController() public method

public InvestigatorController ( IRepository investigatorRepository, IRepository proposalRepository ) : System
investigatorRepository IRepository
proposalRepository IRepository
return System