Beispiel #1
0
 public List <Util.Domain.POE> GetAllPoEs()
 {
     try
     {
         BusinessLogic.Common.Common common = new BusinessLogic.Common.Common();
         return(common.GetAllPoEs());
     }
     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, "GetAllPoEs", e.Message, 0);
     }
     return(null);
 }