public IActionResult Trail(string name) { Trail trail = trailfactory.GetByName(name)[0]; return(View(trail)); }