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