public IActionResult Index() { var lines = _logging.ReadAsync(); if (lines != null) { return(View(lines)); } return(View()); }