C# Class KnowYourTurf.Web.Controllers.PhotoController

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
PhotoController ( IRepository repository, ISaveEntityService saveEntityService, ISelectListItemService selectListItemService, IUploadedFileHandlerService uploadedFileHandlerService, IHttpContextAbstractor httpContextAbstractor ) : System
Save ( PhotoViewModel input ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
mapToDomain ( PhotoViewModel input, Photo photo ) : Photo

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

PhotoController() public méthode

public PhotoController ( 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 ( PhotoViewModel input ) : System.Web.Mvc.ActionResult
input PhotoViewModel
Résultat System.Web.Mvc.ActionResult