Пример #1
0
        public virtual FileResult IndicatorsPageExportToPDF()
        {
            var filter   = _cacheService.Get <IndicatorsFilterViewModel>(base.FilterCacheKey);
            var response = _fundService.ExportIndicatorsToPDF(filter.ConvertToDataTableRequest());

            if (!response.IsValid)
            {
                return(null);
            }

            return(File(response.File, "application/doc", "IndicatorsList.pdf"));
        }