Ejemplo n.º 1
0
        public ActionResult ScanForColumnsAndParseTable(ImportViewModel form, IFormFile file, string password = "")
        {
            try
            {
                form.ScanForColumnsAndParseTable = _sampleProvider.ScanForColumnsAndParseTable(file, form, password);
            }
            catch (ImportException ex)
            {
                form.Exceptions = ex.Exceptions;
            }

            return(View("Index", JsonConvert.SerializeObject(form)));
        }