public HttpResponseMessage Post([FromBody] AvorionServerCommand value)
        {
            CommandsApiData.AddCommand(value);
            var           resp          = new HttpResponseMessage(HttpStatusCode.OK);
            StringBuilder resultBuilder = new StringBuilder();

            resultBuilder.Append("Success");
            resp.Content = new StringContent(resultBuilder.ToString(), System.Text.Encoding.UTF8, "text/plain");
            return(resp);
        }
        private void ProcessCommandRequest()
        {
            AvorionServerCommand tmpCommand = CommandsApiData.DequeueCommand();

            if (tmpCommand != null)
            {
                Server.SendCommand(tmpCommand);
            }
            else
            {
                _process.StandardInput.WriteLine(-1);
            }
        }