Category
Actually, the Category logic will be identical to its respective part in the Core module. So, you may use that page as a guide, if you wish. But as a summary, we should
Define its CreateDTO by copying the
namefield from the users' CreateDTOCopy the contents of the
UsersServiceto its own service and adjustIn
findOne(), fetch acategorywith itsproductsIn
remove(), check if thecategoryhas associatedproductsbefore proceeding
Commit - Implementing category logic
Last updated