An organization can get paid, but an organization cannot do work. Only people can do work. Therefore, it would be an odd situation where an orgnization is considered the rendering provider. The common setup for NPI Numbers on the CMS 1500 Form is this:
Rendering Provider (who did the work) in Box 24J
Billing Provider (who gets paid) in Box 33a
Referring Provider (if any) in Box 17.
In your case, I assume it is the ASC that gets paid, so their Type 2 NPI Number would go in Box 33a. The Type 1 NPI Number of the one who actually did the work goes in Box 24J.