예제 #1
0
 public string GetPOEIntro(int poeid)
 {
     try
     {
         POEBL pobl = new POEBL();
         return(pobl.GetPOEIntro(poeid));
     }
     catch (Exception e)
     {
         WebOperationContext.Current.OutgoingResponse.StatusCode        = HttpStatusCode.PreconditionFailed;
         WebOperationContext.Current.OutgoingResponse.StatusDescription = e.Message;
     }
     return(null);
 }
예제 #2
0
 public string GetPOEIntro(int poeid)
 {
     try
     {
         POEBL pobl = new POEBL();
         return(pobl.GetPOEIntro(poeid));
     }
     catch (Exception e)
     {
         WebOperationContext.Current.OutgoingResponse.StatusCode        = HttpStatusCode.PreconditionFailed;
         WebOperationContext.Current.OutgoingResponse.StatusDescription = e.Message;
         BusinessLogic.Common.Common common = new BusinessLogic.Common.Common();
         common.CreateErrorLog(0, "GetPOEIntro", e.Message, 0);
     }
     return(null);
 }