예제 #1
0
 public UnitOfWork(StudenDbContext context)
 {
     _context = context;
 }
예제 #2
0
 public GenericRepository(StudenDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }