A Fine Mess (1986)

Two friends, an actor and a chef, discover a plot to fix a horse race and try to capitalize on it, but also have to deal with the two men who fixed it who are trying to silence them. And there's also the mob boss whom the two guys work for who planned the fixing thing whose wife is having an affair with the actor.