예제 #1
0
 public BulletService(IBulletRepository iRepository, ICartridgeLoadRepository iCartridgeLoadRepository, IBulletCostRepository iBulletCostRepository, IBulletQuantityRepository iBulletQuantityRepository)
 {
     this.repository = iRepository;
     this.cartridgeLoadRepository = iCartridgeLoadRepository;
     this.costRepository          = iBulletCostRepository;
     this.quantityRepository      = iBulletQuantityRepository;
 }
예제 #2
0
 public BulletService()
 {
     this.repository = new BulletRepository();
     this.cartridgeLoadRepository = new CartridgeLoadRepository();
     this.costRepository          = new BulletCostRepository();
     this.quantityRepository      = new BulletQuantityRepository();
 }
예제 #3
0
 public BulletCostService(IBulletCostRepository iRepository, IBulletRepository iBulletRepository, IUnitRepository iUnitRepository)
 {
     this.repository       = iRepository;
     this.bulletRepository = iBulletRepository;
     this.unitRepository   = iUnitRepository;
 }
예제 #4
0
 public BulletCostService()
 {
     this.repository       = new BulletCostRepository();
     this.bulletRepository = new BulletRepository();
     this.unitRepository   = new UnitRepository();
 }