The lessons of parenting can also be applied to management.