public static CloseWindowCommand FromHashtable(Hashtable obj)
        {
            var command = new CloseWindowCommand(obj.GetString(nameof(CorrelationId)), obj.GetUShort(nameof(WindowId)));

            return(command);
        }
 private void Handle(CloseWindowCommand command)
 {
     _windowsManagingService.CloseWindow(command.WindowId);
     _outboundEventBus.Send(new CommandResultEvent(command.CorrelationId, StatusCode.Success,
                                                   nameof(CloseWindowCommand)));
 }