public GenericRepository(LMSDBContext context) { // comment here //sets the dbset this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork() { _context = new LMSDBContext(); }