public ActionResult DeleteElmah(Guid id) { ELMAHError elmah = db.ELMAHErrors.FirstOrDefault(q => q.ErrorId == id); db.ELMAHErrors.Remove(elmah); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult DetailElmah(Guid id) { ELMAHError elmah = db.ELMAHErrors.FirstOrDefault(q => q.ErrorId == id); return(View(elmah)); }