public IActionResult FindOne(int id) { ViewBag.OneTrail = trailfactory.FindOne(id); return(View()); }
public IActionResult Trail(int idTrail) { ViewBag.trail = trailFactory.FindOne(idTrail); return(View("Trail")); }