C# 클래스 Dogbert2.Controllers.TaskController

상속: ApplicationController
파일 보기 프로젝트 열기: ucdavis/Dogbert

공개 메소드들

메소드 설명
Create ( int projectId ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( int projectId ) : System.Web.Mvc.ActionResult

View list of tasks for project

LoadRequirements ( int projectId, int categoryId ) : JsonNetResult

Loads a list of requirements in a category

MyTasks ( ) : System.Web.Mvc.ActionResult

View a list of tasks assigned to user

TaskController ( IRepository taskRepository, IRepository projectRepository, IAccessValidatorService accessValidator ) : System
UpdateTask ( int id, string description, string comments, bool complete = false ) : JsonNetResult

Worker's interface to update the task, can make comments and mark complete

비공개 메소드들

메소드 설명
Create ( int projectId, Task task, List requirements ) : System.Web.Mvc.ActionResult
Delete ( int id, Task task ) : System.Web.Mvc.ActionResult
Edit ( int id, Task task, List requirements ) : System.Web.Mvc.ActionResult
TransferValues ( Task src, Task dest, List requirementIds, Project project = null ) : void

메소드 상세

Create() 공개 메소드

public Create ( int projectId ) : System.Web.Mvc.ActionResult
projectId int
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

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

Details() 공개 메소드

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Edit() 공개 메소드

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

Index() 공개 메소드

View list of tasks for project
public Index ( int projectId ) : System.Web.Mvc.ActionResult
projectId int
리턴 System.Web.Mvc.ActionResult

LoadRequirements() 공개 메소드

Loads a list of requirements in a category
public LoadRequirements ( int projectId, int categoryId ) : JsonNetResult
projectId int Project Id
categoryId int Category Id
리턴 JsonNetResult

MyTasks() 공개 메소드

View a list of tasks assigned to user
public MyTasks ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

TaskController() 공개 메소드

public TaskController ( IRepository taskRepository, IRepository projectRepository, IAccessValidatorService accessValidator ) : System
taskRepository IRepository
projectRepository IRepository
accessValidator IAccessValidatorService
리턴 System

UpdateTask() 공개 메소드

Worker's interface to update the task, can make comments and mark complete
public UpdateTask ( int id, string description, string comments, bool complete = false ) : JsonNetResult
id int
description string
comments string
complete bool
리턴 JsonNetResult