Exemplo n.º 1
0
        public IActionResult DashboardJson()
        {
            var result = new DashboardModel();

            result.TopMiners = MinersManager.GetTopMiners();
            result.Report    = MinersManager.GetReport();
            result.MinedJobs = MinersManager.GetLastMinedJobs();
            return(this.Json(result));
        }