Esempio n. 1
0
        public async Task <IActionResult> GenerateRaport()
        {
            var data = new AnalyticsView();

            data.Views = $"{await _analyticsService.GetSumArticleViews()}";

            var result = await _pdfService.CreateAnalyticsRaport("AnalyticsTemplate", "Raport wyświetleń", data);

            return(result);
        }