public Repository(SocialHeroesContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }