public IActionResult Ejecutar()
        {
            ViewData["Codigo"] = HttpContext.Request.Form["formControlCodigoPrueba"];

            CubeOperationsParser parser = new CubeOperationsParser();

            string resultados = parser.ParseCode(ViewData["Codigo"].ToString());

            ViewData["Resultados"] = resultados;

            return(View("Index"));
        }
示例#2
0
 public void Setup()
 {
     cubeParser = new CubeOperationsParser();
 }