public PromotionCodeTests(PromotionCodeDbContext context, PromotionCodeServices scv) { _context = context; _services = scv; }
//Constructor: Inject Service class public PromotionCodesController(PromotionCodeServices pcService) { //inject the Service database context _pcService = pcService; }