示例#1
0
 public PromotionCodeTests(PromotionCodeDbContext context, PromotionCodeServices scv)
 {
     _context  = context;
     _services = scv;
 }
示例#2
0
 //Obtain the db context through DI
 public PromotionCodeServices(PromotionCodeDbContext dbCtx)
 {
     _db = dbCtx;
 }