sending validation error message in controller

controllers are certificate, employee, salary, work