示例#1
0
        public ActionResult deleteProjectSpeCode(int ID)
        {
            SpeCode speCode = virames <SpeCode>
                              .Initialize(new SpeCode()).Where(x => x.ID.ToString() == ID.ToString())
                              .Take();

            speCode.Delete();
            return(RedirectToAction("projectSpeCodeDefinitions"));
        }
 public ActionResult DeleteSpeCodeForAsset(SpeCode speCode)
 {
     speCode.Delete();
     return(RedirectToAction("SpeCodeForAsset"));
 }