Refactoring validate for all service