Example #1
0
 public PrimerService(IPrimerRepository iRepository, IPrimerCostRepository iPrimerCostRepository, IPrimerQuantityRepository iPrimerQuantityRepository, ICartridgeRepository iCartridgeRepository)
 {
     this.repository          = iRepository;
     this.costRepository      = iPrimerCostRepository;
     this.quantityRepository  = iPrimerQuantityRepository;
     this.cartridgeRepository = iCartridgeRepository;
 }
Example #2
0
 public PrimerService()
 {
     this.repository          = new PrimerRepository();
     this.costRepository      = new PrimerCostRepository();
     this.quantityRepository  = new PrimerQuantityRepository();
     this.cartridgeRepository = new CartridgeRepository();
 }