C# Class BinaryStudio.TaskManager.Web.Controllers.HumanTasksController

Provides access to human task entities
Inheritance: Controller
Show file Open project: dv00d00/BinaryStudio.TaskManager Class Usage Examples

Public Methods

Method Description
HumanTasksController ( ITaskProcessor iTaskProcessor, IEmployeeRepository iEmployeeRepository ) : System
HumanTasksController ( ITaskProcessor taskProcessor, IEmployeeRepository employeeRepository, IUserProcessor userProcessor ) : System

Initializes a new instance of the HumanTasksController class.

HumanTasksController ( ITaskProcessor taskProcessor, IUserProcessor userProcessor, IUserRepository userRepository ) : System

Initializes a new instance of the HumanTasksController class.

Protected Methods

Method Description
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void

Private Methods

Method Description
AllManagersWithTasks ( ) : System.Web.Mvc.ActionResult
AllTasks ( ) : System.Web.Mvc.ViewResult
Create ( CreateTaskViewModel createModel ) : System.Web.Mvc.ActionResult
Create ( HumanTask humanTask ) : System.Web.Mvc.ActionResult
Create ( int managerId ) : System.Web.Mvc.ActionResult
Create ( int managerId, int projectId ) : System.Web.Mvc.ActionResult
CreateSingleTaskViewModelById ( int id ) : SingleTaskViewModel

The create single task view createModel by id.

Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ViewResult
Edit ( HumanTask humanTask ) : System.Web.Mvc.ActionResult
Edit ( SingleTaskViewModel model ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ViewResult
ManagerDetails ( int managerId ) : System.Web.Mvc.ActionResult
MoveTask ( int taskId, int senderId, int receiverId ) : void
UserDetails ( int userId ) : System.Web.Mvc.ActionResult

Method Details

HumanTasksController() public method

public HumanTasksController ( ITaskProcessor iTaskProcessor, IEmployeeRepository iEmployeeRepository ) : System
iTaskProcessor ITaskProcessor
iEmployeeRepository IEmployeeRepository
return System

HumanTasksController() public method

Initializes a new instance of the HumanTasksController class.
public HumanTasksController ( ITaskProcessor taskProcessor, IEmployeeRepository employeeRepository, IUserProcessor userProcessor ) : System
taskProcessor ITaskProcessor The task processor.
employeeRepository IEmployeeRepository The employee repository.
userProcessor IUserProcessor
return System

HumanTasksController() public method

Initializes a new instance of the HumanTasksController class.
public HumanTasksController ( ITaskProcessor taskProcessor, IUserProcessor userProcessor, IUserRepository userRepository ) : System
taskProcessor ITaskProcessor /// The task processor. ///
userProcessor IUserProcessor /// The user processor. ///
userRepository IUserRepository /// The user Repository. ///
return System

OnException() protected method

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
return void