Did the required changes

This commit is contained in:
Baber-Jan
2020-07-26 19:12:51 +04:00
parent d53380616e
commit eeb04e1615
4 changed files with 66 additions and 21 deletions

View File

@@ -37,6 +37,14 @@ class Website {
return this.products.getData(productId);
}
/**
*
* @returns {[]}
*/
getAllProduct(){
return this.products.getAllData().values();
}
/**
*
* @param {string} productId