C# Class Kooboo.Commerce.Web.Areas.Commerce.Topbar.Products.UnpublishProductCommand

Inheritance: Kooboo.Commerce.Web.Framework.UI.Topbar.ProductTopbarCommand
Mostra file Open project: Kooboo/Ecommerce

Public Methods

Method Description
CanExecute ( Kooboo product, CommerceInstance instance ) : bool
Execute ( IEnumerable products, object config, CommerceInstance instance ) : System.Web.Mvc.ActionResult

Method Details

CanExecute() public method

public CanExecute ( Kooboo product, CommerceInstance instance ) : bool
product Kooboo
instance Kooboo.Commerce.Data.CommerceInstance
return bool

Execute() public method

public Execute ( IEnumerable products, object config, CommerceInstance instance ) : System.Web.Mvc.ActionResult
products IEnumerable
config object
instance Kooboo.Commerce.Data.CommerceInstance
return System.Web.Mvc.ActionResult