C# Class KnowYourTurf.Web.Controllers.VendorContactController

Inheritance: KYTController
Mostra file 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 ( VendorContactViewModel input ) : System.Web.Mvc.ActionResult
VendorContactController ( IRepository repository, ISaveEntityService saveEntityService ) : System

Private Methods

Method Description
mapItem ( VendorContact vendorContact, VendorContactViewModel input ) : void

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 ( VendorContactViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Web.Models.VendorContact.VendorContactViewModel
return System.Web.Mvc.ActionResult

VendorContactController() public method

public VendorContactController ( IRepository repository, ISaveEntityService saveEntityService ) : System
repository IRepository
saveEntityService ISaveEntityService
return System