protected ServiceBase(AlmacénContext dbContext) { this.db = dbContext; dbset = DBContext.Set <T>(); }
protected ServiceBase() { db = new AlmacénContext(); dbset = DBContext.Set <T>(); }