public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            LosePeople losepeople = db.LosePeople.Find(id);

            if (losepeople == null)
            {
                return(HttpNotFound());
            }
            return(View(losepeople));
        }
 public ActionResult Create([Bind(Include = "Imie, Nazwisko, Wiek, Opis, Data_zaginiecia, Znaki_szczegolne, Lokalizacja")] LosePeople losepeople)
 {
     try
     {
         if (ModelState.IsValid)
         {
             db.LosePeople.Add(losepeople);
             db.SaveChanges();
             return(RedirectToAction("List"));
         }
     }
     catch (RetryLimitExceededException /* dex */)
     {
         ModelState.AddModelError("", "Unable to save changes. Try again, and if the problem persists see your system administrator.");
     }
     return(View(losepeople));
 }