use of repository pattern in mvc 4