public void Insert(Guid ApplicationId, Guid PathId, string Path, string LoweredPath)
        {
            AspnetPath item = new AspnetPath();

            item.ApplicationId = ApplicationId;

            item.PathId = PathId;

            item.Path = Path;

            item.LoweredPath = LoweredPath;


            item.Save(UserName);
        }
        public void Update(Guid ApplicationId, Guid PathId, string Path, string LoweredPath)
        {
            AspnetPath item = new AspnetPath();

            item.MarkOld();
            item.IsLoaded = true;

            item.ApplicationId = ApplicationId;

            item.PathId = PathId;

            item.Path = Path;

            item.LoweredPath = LoweredPath;

            item.Save(UserName);
        }
 public bool Destroy(object PathId)
 {
     return(AspnetPath.Destroy(PathId) == 1);
 }
 public bool Delete(object PathId)
 {
     return(AspnetPath.Delete(PathId) == 1);
 }