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

            return(metrics);
        }
예제 #2
0
        public IActionResult Index()
        {
            ViewBag.Metrics = _metricsService.GetMetrics();

            return(View());
        }