Ejemplo n.º 1
0
        public HttpResponseMessage Delete(tppoint e)
        {
            BLLPpoint.DeletePPoint(e.ID_PPOINT.ToString());
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK);

            return(response);
        }
Ejemplo n.º 2
0
        public HttpResponseMessage Put(tppoint e)
        {
            var ppoint = BLLPpoint.UpdatePPoint(e);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, ppoint);

            return(response);
        }
Ejemplo n.º 3
0
 public static tppoint UpdatePPoint(tppoint post)
 {
     return(PpointRepository.UpdatePPoint(post));
 }
Ejemplo n.º 4
0
 public static bool CreatePPoint(tppoint post)
 {
     PpointRepository.CreatePPoint(post);
     return(BLLPublishingPoint.CreatePublishingPointPTM(post.IIS_NAME, post.AMS_URL, true));
 }