Did the required changes
This commit is contained in:
@@ -37,6 +37,14 @@ class Website {
|
||||
return this.products.getData(productId);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns {[]}
|
||||
*/
|
||||
getAllProduct(){
|
||||
return this.products.getAllData().values();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string} productId
|
||||
|
||||
Reference in New Issue
Block a user