public async Task <Character> ModifyChar(Guid playerid, Guid charid, ModifiedCharacter character) { Character _character = await _repository.GetChar(playerid, charid); _character._Name = character._Name; return(await _repository.ModifyChar(playerid, charid, _character)); }
public async Task <Character> ModifyChar(Guid userid, Guid charid, [FromBody] ModifiedCharacter character) { return(await _processor.ModifyChar(userid, charid, character)); }