• IProductProvider

Contents

IProductProvider

Namespace: Middleware

Assembly: Middleware

Product provider interface, used to query product data. This item must be implemented by the host application and made available via DI.

Properties

ProductCount Retrieves the count of visible products

Methods

ProductGroupsGet() Request to retrieve all product groups that will be displayed on the website.
ProductGroupGet(Int32) Request to retrieve an individual product group based on its Id.
ProductGroupSave(Int32, string, boolean, Int32, string, string, string) Saves changes to a an existing product group or creates a new product group
ProductGroupDelete(Int32, string) Deletes a product group
GetProducts(Int32, Int32) Retrieves a group of products for display on the website.
GetProducts(ProductGroup, Int32, Int32) Retrieves all products belonging to a product group.
GetProduct(Int32) Retrieves an individual product based on its unique Id.
ProductSave(Int32, Int32, string, string, string, string, boolean, boolean, decimal, string, boolean, boolean, string) Saves changes to an existing product or creates a new product
ProductDelete(Int32, string)

In This Document