Made corrections to Repository Pattern

Using Entity Framework 6 has proven challenging. Needed to simplify code
since EF takes care of most things.