public void Delete(Weapon weapon) { if (weapon.WeaponId != null) { _repository.Delete(Mapping.Mapped.Map <Domain.Entities.Weapon>(weapon)); } }
public void Delete(int id) { _bonusService.BatchClear(id, BonusType.Weapon); _weaponRepository.Delete(id); }