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 broń do danej postaci
|
||||||
|
/// </summary>
|
||||||
|
/// <param name=characterWeaponViewModel> View model z odpowiednimi parameterami </param>
|
||||||
|
/// <returns>SuccessResponse/ErrorResponse</returns>
|
||||||
s426135 marked this conversation as resolved
Outdated
|
|||||||
[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
brak return