Esempio n. 1
0
 public UserRepository(SITDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <User>();
 }
Esempio n. 2
0
 public EntityRepository(SITDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <T>();
 }