C# Class KnowYourTurf.Web.Controllers.VendorController

Inheritance: KYTController
Exibir arquivo Open project: reharik/KnowYourTurf

Public Methods

Method Description
AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
Display ( ViewModel input ) : System.Web.Mvc.ActionResult
Save ( VendorViewModel input ) : System.Web.Mvc.ActionResult
VendorController ( IRepository repository, ISaveEntityService saveEntityService, ISelectBoxPickerService selectBoxPickerService ) : System

Private Methods

Method Description
mapToDomain ( VendorViewModel input, Vendor vendor ) : Vendor

Method Details

AddEdit() public method

public AddEdit ( 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

Save() public method

public Save ( VendorViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Web.Models.Vendor.VendorViewModel
return System.Web.Mvc.ActionResult

VendorController() public method

public VendorController ( IRepository repository, ISaveEntityService saveEntityService, ISelectBoxPickerService selectBoxPickerService ) : System
repository IRepository
saveEntityService ISaveEntityService
selectBoxPickerService ISelectBoxPickerService
return System