// GET: Commande/Edit/5 public ActionResult Modifier(string id) { Manga unManga = null; try { unManga = ServiceManga.GetunManga(id); return(View(unManga)); } catch (MonException e) { return(HttpNotFound()); } }
// GET: Commande/Edit/5 public ActionResult Modifier(string id) { Manga unManga = null; try { unManga = ServiceManga.GetunManga(id); ViewData["Role"] = HttpContext.Session.GetString("Role"); return(View(unManga)); } catch (MonException e) { return(StatusCode(418)); } }