C# Class KnowYourTurf.Web.Controllers.TaskController

Inheritance: KYTController
Afficher le fichier Open project: reharik/KnowYourTurf

Méthodes publiques

Méthode 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

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

Method Details

AddEdit() public méthode

public AddEdit ( AddEditTaskViewModel input ) : System.Web.Mvc.ActionResult
input AddEditTaskViewModel
Résultat System.Web.Mvc.ActionResult

Delete() public méthode

public Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
Résultat System.Web.Mvc.ActionResult

Display() public méthode

public Display ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
Résultat System.Web.Mvc.ActionResult

Save() public méthode

public Save ( TaskViewModel input ) : System.Web.Mvc.ActionResult
input TaskViewModel
Résultat System.Web.Mvc.ActionResult

TaskController() public méthode

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