They both very different games.
L.A. Noire is fairly repetitive and gets boring after a while, but still a good and interesting game.
Mafia II is a great game, it's GTA but set in the 1940s, definitely the better of the two.
Both are free to roam, but there isn't much to do in L.A. Noire.