Replaced the DbContext with IDbContext in the GenericRepository