예제 #1
0
            public override async Task <Unit> Handle(UpdateCharacterAction action, CancellationToken aCancellationToken)
            {
                var response = await this.httpService.PutJson("api/Characters/Update", action.Character);

                if (response.IsOk)
                {
                    MappingExtensions.To(response.Data, this.CharacterState.Character);
                }

                return(await Unit.Task);
            }