C# Class TaskNotes.Controllers.TaskController

Inheritance: Controller
显示文件 Open project: fkalseth/tasknotes

Public Methods

Method Description
Cancel ( System.Guid taskId ) : System.Web.Mvc.ActionResult
Complete ( System.Guid taskId ) : System.Web.Mvc.ActionResult
TaskController ( ICommandSender commands, TaskDtoRepository repository ) : System

Private Methods

Method Description
Create ( TaskDto task ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ViewResult
Execute ( ICommand command ) : System.Web.Mvc.ActionResult
Postpone ( NewDueDateViewModel task ) : System.Web.Mvc.ActionResult
Postpone ( System.Guid taskId ) : System.Web.Mvc.ViewResult
Prioritise ( NewDueDateViewModel task ) : System.Web.Mvc.ActionResult
Prioritise ( System.Guid taskId ) : System.Web.Mvc.ViewResult

Method Details

Cancel() public method

public Cancel ( System.Guid taskId ) : System.Web.Mvc.ActionResult
taskId System.Guid
return System.Web.Mvc.ActionResult

Complete() public method

public Complete ( System.Guid taskId ) : System.Web.Mvc.ActionResult
taskId System.Guid
return System.Web.Mvc.ActionResult

TaskController() public method

public TaskController ( ICommandSender commands, TaskDtoRepository repository ) : System
commands ICommandSender
repository TaskDtoRepository
return System