refactory de isNewSale(POST post) se movie a productCatalog.java