Exemplo n.º 1
0
 public PromotionCodeTests(PromotionCodeDbContext context, PromotionCodeServices scv)
 {
     _context  = context;
     _services = scv;
 }
Exemplo n.º 2
0
 //Obtain the db context through DI
 public PromotionCodeServices(PromotionCodeDbContext dbCtx)
 {
     _db = dbCtx;
 }