use of repository pattern in mvc 3