コード例 #1
0
        public IActionResult HandleShowInfo()
        {
            StreamReader sr   = new StreamReader(Request.Body);
            string       data = sr.ReadToEnd();

            int id = Int32.Parse(data);

            return(Ok(new { name = _sceneObject.GetName(id), description = _sceneObject.GetDescription(id) }));
        }