示例#1
0
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Categorie categ = categSce.Find(id);

            if (categ == null)
            {
                return(HttpNotFound());
            }
            return(View(categ));
        }