C# Class KnowYourTurf.Web.Controllers.DocumentController

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

Méthodes publiques

Méthode Description
AddUpdate ( ViewModel input ) : System.Web.Mvc.ActionResult
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
Display ( ViewModel input ) : System.Web.Mvc.ActionResult
DocumentController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService, IUploadedFileHandlerService uploadedFileHandlerService, IHttpContextAbstractor httpContextAbstractor ) : System
Save ( DocumentViewModel input ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
mapToDomain ( DocumentViewModel input, Document document ) : Document

Method Details

AddUpdate() public méthode

public AddUpdate ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
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

DocumentController() public méthode

public DocumentController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService, IUploadedFileHandlerService uploadedFileHandlerService, IHttpContextAbstractor httpContextAbstractor ) : System
repository IRepository
saveEntityService ISaveEntityService
selectListItemService ISelectListItemService
uploadedFileHandlerService IUploadedFileHandlerService
httpContextAbstractor IHttpContextAbstractor
Résultat System

Save() public méthode

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