public Repository() { this.entities = AppDbContext.DB; dbSet = entities.Set <T>(); }
public UnitOfWork() { entity = AppDbContext.DB; }