Ejemplo n.º 1
0
        public ActionResult ProcessVmapFile()
        {
            var vmapFile    = Request.Files["vmapFile"];
            var datasetFile = Request.Files["datasetFile"];

            if (vmapFile != null)
            {
                return(Json(datasetService.ProcessMetadataFile(vmapFile, datasetFile, "")));
            }
            else
            {
                return(Json(datasetService.CreateMetadataFileFromDatasetFile(datasetFile)));
            }
        }