Пример #1
0
 public void Delete(Weapon weapon)
 {
     if (weapon.WeaponId != null)
     {
         _repository.Delete(Mapping.Mapped.Map <Domain.Entities.Weapon>(weapon));
     }
 }
Пример #2
0
 public void Delete(int id)
 {
     _bonusService.BatchClear(id, BonusType.Weapon);
     _weaponRepository.Delete(id);
 }