public ActionResult Edit([Bind(Include = "TicketID,Prijs,SaleStatus")] Ticket ticket) { if (ModelState.IsValid) { repo.Entry(ticket); repo.SaveChanges(); return(RedirectToAction("Index")); } return(View(ticket)); }