Deal value and enterprise value are not the same, even in the event of a 100% sale. The other answer is incorrect to say they are: in a 100% sale, market cap equals deal value, but enterprise value is different.
You calculated deal value correctly: (price per share) x (number of shares purchased)
The implied market cap would use total outstanding shares: (price per share) x (number of shares outstanding)
Therefore, if number of shares purchased equals number of shares outstanding, deal value equals market cap.
Enterprise value is a different concept, and reflects the value of the company across all stakeholders - equity, debt, and sometimes others who have a stake in the value of the company (like pension plans, which we can treat as debt). To calculate enterprise value, you would take the market cap, add debt, add any other stakeholders, and subtract cash (as when you buy the company, you'd pocket the cash it currently holds, thus reducing your effective price).