public void Insert(int?PositionID, int?MenuItemID, DateTime?DateCreated, int?Active)
        {
            MenuPosition item = new MenuPosition();

            item.PositionID = PositionID;

            item.MenuItemID = MenuItemID;

            item.DateCreated = DateCreated;

            item.Active = Active;


            item.Save(UserName);
        }
        public void Update(int Id, int?PositionID, int?MenuItemID, DateTime?DateCreated, int?Active)
        {
            MenuPosition item = new MenuPosition();

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

            item.Id = Id;

            item.PositionID = PositionID;

            item.MenuItemID = MenuItemID;

            item.DateCreated = DateCreated;

            item.Active = Active;

            item.Save(UserName);
        }