コード例 #1
0
 public bool updateCollectionPoint(string DeptID, string CPID)
 {
     BusinessLogic.CollectionPointController BL = new BusinessLogic.CollectionPointController();
     if (BL.updateCollectionPoint(DeptID, CPID))
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.OK;
         return(true);
     }
     else
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.NotFound;
         return(false);
     }
 }
 public bool updateCollectionPoint(string DeptID, string CPID)
 {
     BusinessLogic.CollectionPointController BL = new BusinessLogic.CollectionPointController();
     if(BL.updateCollectionPoint(DeptID, CPID))
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.OK;
         return true;
     }
     else
     {
         OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse;
         response.StatusCode = HttpStatusCode.NotFound;
         return false;
     }
 }
コード例 #3
0
 public List <CollectionPoint> getCollectionPointbyID(string CPID)
 {
     BusinessLogic.CollectionPointController BL = new BusinessLogic.CollectionPointController();
     return(BL.getCollectionPoint(CPID));
 }
コード例 #4
0
 public List <CollectionPoint> getCollectionPoint()
 {
     BusinessLogic.CollectionPointController BL = new BusinessLogic.CollectionPointController();
     return(BL.getCollectionPoint());
 }
 public List<CollectionPoint> getCollectionPointbyID(string CPID)
 {
     BusinessLogic.CollectionPointController BL = new BusinessLogic.CollectionPointController();
     return BL.getCollectionPoint(CPID);
 }
 public List<CollectionPoint> getCollectionPoint()
 {
     BusinessLogic.CollectionPointController BL = new BusinessLogic.CollectionPointController();
     return BL.getCollectionPoint();
 }