Exemplo n.º 1
0
        // 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());
            }
        }
Exemplo n.º 2
0
        // 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));
            }
        }