C# Class KnowYourTurf.Web.Controllers.DocumentController

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

Public Methods

Method 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

Method Description
mapToDomain ( DocumentViewModel input, Document document ) : Document

Method Details

AddUpdate() public method

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

DocumentController() public method

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

Save() public method

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