Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 KB | None | 0 0
  1.   public ActionResult Edit(int? id)
  2.         {
  3.                 if (id == null)
  4.                 {
  5.                     return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
  6.                 }
  7.                 Klienci klienci = db.Kliencis.Find(id);
  8.                 if (klienci == null)
  9.                 {
  10.                     return HttpNotFound();
  11.                 }
  12.                 this.id_glob = id;
  13.                 this.modyfikacja_glob = klienci.Modyfikacja;
  14.                 return View(klienci);
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement