public void Insert(int PathKey, int MarketKey)
        {
            PathRoute item = new PathRoute();

            item.PathKey = PathKey;

            item.MarketKey = MarketKey;


            item.Save(UserName);
        }
        public void Update(int PathRouteKey, int PathKey, int MarketKey)
        {
            PathRoute item = new PathRoute();

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

            item.PathRouteKey = PathRouteKey;

            item.PathKey = PathKey;

            item.MarketKey = MarketKey;

            item.Save(UserName);
        }