C# 클래스 Kooboo.Commerce.Web.Areas.Commerce.Controllers.ProductController

상속: Kooboo.Commerce.Web.Mvc.Controllers.CommerceControllerBase
파일 보기 프로젝트 열기: Kooboo/Ecommerce

공개 메소드들

메소드 설명
CreateDefaultVariantModel ( ProductType productType ) : ProductVariantModel
Index ( ) : System.Web.Mvc.ActionResult
ProductController ( SettingService settingService, ProductService productService, ProductTypeService productTypeService, BrandService brandService, CategoryService categoryService ) : System

비공개 메소드들

메소드 설명
Create ( int productTypeId ) : System.Web.Mvc.ActionResult
Delete ( ProductModel model ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DoSave ( ProductEditorModel model ) : Product
Edit ( int id ) : System.Web.Mvc.ActionResult
Get ( int id = null, int productTypeId = null ) : System.Web.Mvc.ActionResult
GetCategories ( int parentId = null ) : System.Web.Mvc.ActionResult
GetImageTypes ( ) : System.Web.Mvc.ActionResult
GetProductType ( int id ) : System.Web.Mvc.ActionResult
PrepareProductEditing ( ProductType productType, Product product ) : void
Save ( ProductEditorModel model ) : System.Web.Mvc.ActionResult
SearchBrands ( string term, int page, int pageSize = 10 ) : System.Web.Mvc.ActionResult
SearchCategories ( string term ) : System.Web.Mvc.ActionResult
UpdateProduct ( Product product, ProductEditorModel model ) : void
ValidateFieldUniqueness ( int productId, string fieldName, string fieldValue, string fieldType ) : System.Web.Mvc.ActionResult

메소드 상세

CreateDefaultVariantModel() 공개 메소드

public CreateDefaultVariantModel ( ProductType productType ) : ProductVariantModel
productType ProductType
리턴 Kooboo.Commerce.Web.Areas.Commerce.Models.Products.ProductVariantModel

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ProductController() 공개 메소드

public ProductController ( SettingService settingService, ProductService productService, ProductTypeService productTypeService, BrandService brandService, CategoryService categoryService ) : System
settingService SettingService
productService ProductService
productTypeService Kooboo.Commerce.Products.ProductTypeService
brandService BrandService
categoryService CategoryService
리턴 System