• 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(Middleware.Products.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