public async Task <IActionResult> CreateNewWeapon(CreateWeaponDto newWeaponDto) { ServiceResponse <GetWeaponDto> response = await _weaponService.CreateNewWeapon(newWeaponDto); if (!response.Success) { return(BadRequest(response)); } return(Ok(response)); }