add entity framework
add view repo