Esempio n. 1
0
        // Side actions handlers
        public IActionResult HandleDescriptionShowing()
        {
            StreamReader sr   = new StreamReader(Request.Body);
            string       data = sr.ReadToEnd();

            int id = Int32.Parse(data);

            return(Ok(_sceneObject.GetSceneObject(id).Description));
        }