Exemple #1
0
        public IEnumerable <Metrics> GetListOfMetrics()
        {
            var metrics = _metricsService.GetMetrics();

            return(metrics);
        }
        public IActionResult Index()
        {
            ViewBag.Metrics = _metricsService.GetMetrics();

            return(View());
        }