public HttpResponseBase IsModifiable()
 {
     string json = string.Empty;
     _promotionBannerMgr = new PromotionBannerMgr(mySqlConnectionString);
     PromotionBannerQuery query = new PromotionBannerQuery();
     try
     {
         if (!string.IsNullOrEmpty(Request.Params["pb_id"]))
         {
             query.pb_id = Convert.ToInt32(Request.Params["pb_id"]);
         }
         bool i = _promotionBannerMgr.IsModifiable(query);
         if (i)
         {
             json = "{success:true}";
         }
         else
         {
             json = "{success:false,msg:\"-1\"}";
         }
     }
     catch (Exception ex)
     {
         Log4NetCustom.LogMessage logMessage = new Log4NetCustom.LogMessage();
         logMessage.Content = string.Format("TargetSite:{0},Source:{1},Message:{2}", ex.TargetSite.Name, ex.Source, ex.Message);
         logMessage.MethodName = System.Reflection.MethodBase.GetCurrentMethod().Name;
         log.Error(logMessage);
         json = "{success:false}";
     }
     this.Response.Clear();
     this.Response.Write(json.ToString());
     this.Response.End();
     return this.Response;
 }