public Repository(MedinetWebEntities dbContext) { if (dbContext == null) { throw new NullReferenceException("dbContext"); } DbContext = dbContext; DbSet = dbContext.Set <T>(); }
public AccesoRepository() { this.entities = new MedinetWebEntities(); }