public ActionResult Show(int id) { Places foundPlace = Places.Find(id); return(View("Show", foundPlace)); }
public ActionResult Index() { List <Places> allPlaces = Places.GetAll(); return(View(allPlaces)); }
public ActionResult Create(string name, string description, string timestamp, string image) { Places entry = new Places(name, description, timestamp, image); return(RedirectToAction("Index")); }