//
        // GET: /Exception/

        public ActionResult Index()
        {
            IList <CExceptionInfo_WuQi> elist = CExceptionContainer_WuQi.GetInfos();

            if (null != elist && elist.Count > 0)
            {
                TempData["infos"] = elist;
                return(RedirectToAction("Exceptioninfos"));
            }

            return(View());
        }
        public ActionResult ManagerException(FormCollection collection)
        {
            string sdelete = Request.Form["delete"];

            if (null != sdelete)
            {
                CExceptionContainer_WuQi.ClearInfos();
                IList <CExceptionInfo_WuQi> elist = CExceptionContainer_WuQi.GetInfos();
                if (null != elist)
                {
                    TempData["infos"] = elist;
                    return(RedirectToAction("Exceptioninfos"));
                }
            }
            IList <CExceptionInfo_WuQi> result = TempData["infos"] as IList <CExceptionInfo_WuQi>;

            TempData["infos"] = result;

            string[]   stringsplit = collection.GetValue("Guid").AttemptedValue.Split(',');
            List <int> ls          = new List <int>();

            foreach (var item in stringsplit)
            {
                if (0 == item.CompareTo("false") || 0 == item.CompareTo("true"))
                {
                }
                else
                {
                    ls.Add(int.Parse(item));
                }
            }
            if (ls.Count == 0)
            {
                return(RedirectToAction("Exceptioninfos"));
            }



            return(RedirectToAction("Exceptioninfos"));
        }