public HttpResponseMessage Delete(tppoint e) { BLLPpoint.DeletePPoint(e.ID_PPOINT.ToString()); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK); return(response); }
public HttpResponseMessage Put(tppoint e) { var ppoint = BLLPpoint.UpdatePPoint(e); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, ppoint); return(response); }
public static tppoint UpdatePPoint(tppoint post) { return(PpointRepository.UpdatePPoint(post)); }
public static bool CreatePPoint(tppoint post) { PpointRepository.CreatePPoint(post); return(BLLPublishingPoint.CreatePublishingPointPTM(post.IIS_NAME, post.AMS_URL, true)); }