Exemplo n.º 1
0
 public string GetModuleKeyAction(int poeid, int moduleId)
 {
     try
     {
         POEBL pobl = new POEBL();
         return(pobl.GetModuleKeyAction(poeid, moduleId));
     }
     catch (Exception e)
     {
         WebOperationContext.Current.OutgoingResponse.StatusCode        = HttpStatusCode.PreconditionFailed;
         WebOperationContext.Current.OutgoingResponse.StatusDescription = e.Message;
     }
     return(null);
 }
Exemplo n.º 2
0
 public string GetModuleKeyAction(int poeid, int moduleId)
 {
     try
     {
         POEBL pobl = new POEBL();
         return(pobl.GetModuleKeyAction(poeid, moduleId));
     }
     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, "GetModuleKeyAction", e.Message, 0);
     }
     return(null);
 }