Ejemplo n.º 1
0
        public FileContentResult SyncFile(string type, string culture)
        {
            Type t = TypeLogic.GetType(type);

            CultureInfo c = CultureInfo.GetCultureInfo(culture);

            var file = TranslatedInstanceLogic.ExportExcelFileSync(t, c);

            return(File(file.Content, MimeMapping.GetMimeMapping(file.FileName), file.FileName));
        }