SES-148 Endpointy dla Armor i Weapon #71

Merged
s426134 merged 11 commits from SES-148 into dev 2021-01-14 16:45:05 +01:00
Showing only changes of commit 42eeb72f1a - Show all commits

View File

@ -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>
s426135 marked this conversation as resolved Outdated

brak return

brak return
[HttpPut("changeWeapon")] [HttpPut("changeWeapon")]
public async Task<Either<SuccessResponse, ErrorResponse>> ChangeCharacterWeapon(CharacterWeaponViewModel characterWeaponViewModel) public async Task<Either<SuccessResponse, ErrorResponse>> ChangeCharacterWeapon(CharacterWeaponViewModel characterWeaponViewModel)
{ {