MARIO COMPETITION

Question: In 2006 Mario appeared in a US romantic dance drama film alongside Channing Tatum where Mario played a DJ called Miles Darny, what was the name of the film?