* Adds given product data from request to database
*
* @param product Product instance
+ * @return Updated product instance
* @throws org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the given product title is already used
* @throws org.mxchange.jshopcore.exceptions.CannotAddProductException If something unexpected happened
*/
- public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
+ public Product doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
}