예제 #1
0
        public ActionResult DeleteElmah(Guid id)
        {
            ELMAHError elmah = db.ELMAHErrors.FirstOrDefault(q => q.ErrorId == id);

            db.ELMAHErrors.Remove(elmah);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
예제 #2
0
        public ActionResult DetailElmah(Guid id)
        {
            ELMAHError elmah = db.ELMAHErrors.FirstOrDefault(q => q.ErrorId == id);

            return(View(elmah));
        }