 He starred in the film "The Giant Mechanical Man".On television, he appeared in roles as Ted Fairwell in Six Feet Under, Chris Sanchez in "Damages", Reese Lansing in "The Newsroom" and as Danny Castellano in "The Mindy Project," the latter of which earned him two nominations for the Critics' Choice Television Award for Best Actor in a Comedy Series.In 2018, he portrayed a detective in the HBO miniseries "Sharp Objects".