how can I show the user that the data is gone when he trying to edit a field?
===

so when the user click the edit  link to edit one of the client (field) and another user have erase already that client how can show to the user  that the client (field) is gone?

so I'am using TempData is another way to do it? i think jquery but i don't know how to use it properly

    public ActionResult Edit (int id)
            {
                client cliente = db.Clients.Find(id);
                if (cliente != null)
                {
                    return View(cliente);
                }
                TempData["message"] = string.Format("this client have be erase for other user");
                return RedirectToAction("Index");
                    
            }


