public GenericRepository(CenterEntities context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public StudentRepository(CenterEntities context) : base(context) { }
public UnitOfWork() { _context = new CenterEntities(); }
public UnitOfWork(CenterEntities context) { _context = context; }
public StudentRepository(CenterEntities context) { this.context = context; }