C# Class Dogbert2.Controllers.ProjectController

Inheritance: ApplicationController
Datei anzeigen Open project: ucdavis/Dogbert

Public Methods

Method Description
Completed ( ) : System.Web.Mvc.ActionResult

Displays list of completed projects

Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id, bool publicList = false ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
Manage ( ) : System.Web.Mvc.ActionResult

Reorder and organize projects

ProjectController ( IRepository projectRepository, IRepository projectWorkgroupRepository, IAccessValidatorService accessValidator ) : System
Public ( ) : System.Web.Mvc.ActionResult

View a list of all public projects

Private Methods

Method Description
Create ( ProjectPostModel projectPostModel ) : System.Web.Mvc.ActionResult
Delete ( int id, Project project ) : System.Web.Mvc.ActionResult
Edit ( int id, Project project ) : System.Web.Mvc.ActionResult
UpdateProjectOrder ( int workgroupId, List projectWorkgroupId ) : System.Web.Mvc.JsonResult

Method Details

Completed() public method

Displays list of completed projects
public Completed ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Create() public method

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

Delete() public method

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

Details() public method

public Details ( int id, bool publicList = false ) : System.Web.Mvc.ActionResult
id int
publicList bool
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

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

Manage() public method

Reorder and organize projects
public Manage ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ProjectController() public method

public ProjectController ( IRepository projectRepository, IRepository projectWorkgroupRepository, IAccessValidatorService accessValidator ) : System
projectRepository IRepository
projectWorkgroupRepository IRepository
accessValidator IAccessValidatorService
return System

Public() public method

View a list of all public projects
public Public ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult