public async Task <Unit> Handle(CreateWeaponCommand request, CancellationToken cancellationToken) { Weapon item = _mapper.Map <Weapon>(request.CreateWeapon); await _weaponRepository.CreateAsync(item); return(Unit.Value); }