C# Class Dogbert2.Controllers.ProjectTermController

Inheritance: ApplicationController
Datei anzeigen Open project: ucdavis/Dogbert

Public Methods

Method Description
Create ( int projectId ) : System.Web.Mvc.ActionResult

Create a project term for a project

Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( int id ) : System.Web.Mvc.ActionResult

List of all project terms in a project

ProjectTermController ( IRepository projectRepository, IRepository projectTermRepository, IAccessValidatorService accessValidator ) : System.Web.Mvc

Private Methods

Method Description
Create ( int projectId, ProjectTerm projectTerm ) : System.Web.Mvc.ActionResult
Delete ( int id, ProjectTerm projectTerm ) : System.Web.Mvc.ActionResult
Edit ( int id, ProjectTerm projectTerm ) : System.Web.Mvc.ActionResult

Method Details

Create() public method

Create a project term for a project
public Create ( int projectId ) : System.Web.Mvc.ActionResult
projectId int Project Id
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Edit() public method

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

Index() public method

List of all project terms in a project
public Index ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

ProjectTermController() public method

public ProjectTermController ( IRepository projectRepository, IRepository projectTermRepository, IAccessValidatorService accessValidator ) : System.Web.Mvc
projectRepository IRepository
projectTermRepository IRepository
accessValidator IAccessValidatorService
return System.Web.Mvc