C# Class Kooboo.Commerce.Web.Areas.Commerce.Controllers.ProductTypeController

Inheritance: Kooboo.Commerce.Web.Framework.Mvc.CommerceController
显示文件 Open project: Kooboo/Ecommerce

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Edit ( int id, string @return ) : System.Web.Mvc.ActionResult
Index ( int page = 1, int pageSize = 50 ) : System.Web.Mvc.ActionResult
PredefinedFields ( ) : System.Web.Mvc.ActionResult
ProductTypeController ( ProductTypeService productTypeService, PredefinedCustomFieldService customFieldService ) : System

Private Methods

Method Description
Delete ( ProductTypeModel model ) : System.Web.Mvc.ActionResult
Disable ( ProductTypeModel model ) : System.Web.Mvc.ActionResult
Enable ( ProductTypeModel model ) : System.Web.Mvc.ActionResult
Save ( ProductTypeModel model, string @return ) : System.Web.Mvc.ActionResult

Method Details

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( int id, string @return ) : System.Web.Mvc.ActionResult
id int
@return string
return System.Web.Mvc.ActionResult

Index() public method

public Index ( int page = 1, int pageSize = 50 ) : System.Web.Mvc.ActionResult
page int
pageSize int
return System.Web.Mvc.ActionResult

PredefinedFields() public method

public PredefinedFields ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ProductTypeController() public method

public ProductTypeController ( ProductTypeService productTypeService, PredefinedCustomFieldService customFieldService ) : System
productTypeService Kooboo.Commerce.Products.ProductTypeService
customFieldService Kooboo.Commerce.Products.PredefinedCustomFieldService
return System