public static bool DeletePPoint(string PPointid)
        {
            var ppoint = PpointRepository.GetPPoint(PPointid);

            PpointRepository.DeletePPoint(PPointid);

            return(BLLPublishingPoint.DeletePublishingPointPTM(ppoint.IIS_NAME));
        }
 public static bool CreatePPoint(tppoint post)
 {
     PpointRepository.CreatePPoint(post);
     return(BLLPublishingPoint.CreatePublishingPointPTM(post.IIS_NAME, post.AMS_URL, true));
 }
 public static tppoint UpdatePPoint(tppoint post)
 {
     return(PpointRepository.UpdatePPoint(post));
 }
 public static bool GetPPointStatus(string PPointid)
 {
     return(PpointRepository.GetPPointStatus(PPointid));
 }
 public static tppoint GetPPoint(string PPointid)
 {
     return(PpointRepository.GetPPoint(PPointid));
 }
 public static tppoint GetAvailablePPoint()
 {
     return(PpointRepository.GetAvailablePPoint());
 }
 public static List <tppoint> SearchPPointByName(string ppointName)
 {
     return(PpointRepository.SearchPPointByName(ppointName));
 }
 public static tppoint[] GetPPoints()
 {
     return(PpointRepository.GetPPoints());
 }