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