/// <summary>
        /// Handles the specified command.
        /// </summary>
        /// <param name="command">The command.</param>
        public void Handle(SimplyPostcodeGetAddressDetailsCommand command)
        {
            var commandToSend = new SimplyPostcodeGetAddressDetails3dPartyCommand {
                AddressId = command.AddressId
            };

            SendCommand(Config.Address, commandToSend, command);
        }
        /// <summary>
        /// Handles the specified command.
        /// </summary>
        /// <param name="command">The command.</param>
        public async void Handle(SimplyPostcodeGetAddressDetails3dPartyCommand command)
        {
            InfoAccumulator info = new InfoAccumulator();
            SimplyPostcodeDatailedAddress address = await SimplyPostcodeService.GetAddressDetails(command.AddressId);

            if (StringUtils.IsNotEmpty(address.Errormessage))
            {
                SendReply(info, command);
                return;
            }

            SendReply(info, command, resp => resp.Address = address);
        }