public GenericRepository(LearnMVCEntities _db)
 {
     this.context = _db;
     this.dbset   = context.Set <TEntity>();
 }
Beispiel #2
0
 public UnitOfWork()
 {
     this.context = new LearnMVCEntities();
 }