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; } }
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()); }
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(); }