/// <summary>
 /// update a info object already stored in the database
 /// </summary>
 /// <param name="info"></param>
 public void UpdateFlexMLS_Featured(FlexMLS_FeaturedInfo info)
 {
     //check we have some content to update
     if (info.Content != string.Empty)
     {
         DataProvider.Instance().UpdateFlexMLS_Featured(info.ModuleId, info.ItemId, info.Content, info.CreatedByUser);
     }
 }
        /// <summary>
        /// imports a module from an xml file
        /// </summary>
        /// <param name="ModuleID"></param>
        /// <param name="Content"></param>
        /// <param name="Version"></param>
        /// <param name="UserID"></param>
        public void ImportModule(int ModuleID, string Content, string Version, int UserID)
        {
            XmlNode infos = DotNetNuke.Common.Globals.GetContent(Content, "FlexMLS_Featureds");

            foreach (XmlNode info in infos.SelectNodes("FlexMLS_Featured"))
            {
                FlexMLS_FeaturedInfo FlexMLS_FeaturedInfo = new FlexMLS_FeaturedInfo();
                FlexMLS_FeaturedInfo.ModuleId      = ModuleID;
                FlexMLS_FeaturedInfo.Content       = info.SelectSingleNode("content").InnerText;
                FlexMLS_FeaturedInfo.CreatedByUser = UserID;

                AddFlexMLS_Featured(FlexMLS_FeaturedInfo);
            }
        }