示例#1
0
 private UpdateInfo getHardcodedPriceInfoOrGoBackToPricePage()
 {
     try
     {
         string     type      = Request["Type"];
         UpdateInfo priceInfo = UpdateInfo.GetInfo(UpdateInfo.ParseType(type));
         if (priceInfo == null)
         {
             throw new ArgumentException();
         }
         return(priceInfo);
     }
     catch { }
     Response.Redirect("~/Price");
     return(null);
 }