示例#1
0
        public ActionResult Delete(int id, RessourceModel cm)
        {
            Ressource c = new Ressource();

            c = cs.Get(t => t.id == id);
            cs.Delete(c);
            cs.Commit();
            return(RedirectToAction("Index"));
        }