David Gold and David Sullivan gave their backing to manager Sam Allardyce after West Ham's win over Cardiff.