C# Class KnowYourTurf.Web.Controllers.TaskController

Inheritance: KYTController
ファイルを表示 Open project: reharik/KnowYourTurf

Public Methods

Method Description
AddEdit ( AddEditTaskViewModel input ) : System.Web.Mvc.ActionResult
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
Display ( ViewModel input ) : System.Web.Mvc.ActionResult
Save ( TaskViewModel input ) : System.Web.Mvc.ActionResult
TaskController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService, ISelectBoxPickerService selectBoxPickerService, IInventoryService inventoryService ) : System

Private Methods

Method Description
decorateModel ( AddEditTaskViewModel input, TaskViewModel model ) : void
mapChildren ( Task task, TaskViewModel model ) : void
mapItem ( Task item, Task input ) : void

Method Details

AddEdit() public method

public AddEdit ( AddEditTaskViewModel input ) : System.Web.Mvc.ActionResult
input AddEditTaskViewModel
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

Display() public method

public Display ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

Save() public method

public Save ( TaskViewModel input ) : System.Web.Mvc.ActionResult
input TaskViewModel
return System.Web.Mvc.ActionResult

TaskController() public method

public TaskController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService, ISelectBoxPickerService selectBoxPickerService, IInventoryService inventoryService ) : System
repository IRepository
saveEntityService ISaveEntityService
selectListItemService ISelectListItemService
selectBoxPickerService ISelectBoxPickerService
inventoryService IInventoryService
return System