Update 'SessionCompanion/SessionCompanion/Controllers/EquipmentController.cs'
This commit is contained in:
parent
ad92ad468b
commit
42eeb72f1a
@ -121,7 +121,11 @@ namespace SessionCompanion.Controllers
|
|||||||
return new ErrorResponse() { StatusCode = 500, Message = e.Message };
|
return new ErrorResponse() { StatusCode = 500, Message = e.Message };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Metoda zmienia Weapon do danej postaci
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="CharacterWeaponViewModel"></param>
|
||||||
|
/// <returns></returns>
|
||||||
[HttpPut("changeWeapon")]
|
[HttpPut("changeWeapon")]
|
||||||
public async Task<Either<SuccessResponse, ErrorResponse>> ChangeCharacterWeapon(CharacterWeaponViewModel characterWeaponViewModel)
|
public async Task<Either<SuccessResponse, ErrorResponse>> ChangeCharacterWeapon(CharacterWeaponViewModel characterWeaponViewModel)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user