Ejemplo n.º 1
0
        public async Task <IActionResult> UpdateCharacterName([FromBody] UpdateCharacterNameCommand command)
        {
            await _messageSession.Send(command).ConfigureAwait(false);

            return(Accepted());
        }
Ejemplo n.º 2
0
 public Task UpdateCharacterName(UpdateCharacterNameCommand command)
 => _characterRepository.UpdateCharacterName(command.Id, command.Name);