SES-148 Endpointy dla Armor i Weapon #71
@ -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