/// -----------------------------------------------------------------------------
        /// <summary>
        /// ImportModule implements the IPortable ImportModule Interface
        /// </summary>
        /// <param name="moduleId">The Id of the module to be imported</param>
        /// <param name="content">The content to be imported</param>
        /// <param name="version">The version of the module to be imported</param>
        /// <param name="userId">The Id of the user performing the import</param>
        /// -----------------------------------------------------------------------------
        public void ImportModule(int moduleId, string content, string version, int userId)
        {
            var mc = new ModuleController();
            var mi = mc.GetModule(moduleId);

            XmlNode xmldnnsimplearticles = Common.Globals.GetContent(content, "articles");

            if (xmldnnsimplearticles != null)
            // ReSharper disable PossibleNullReferenceException
                foreach (XmlNode xmldnnsimplearticle in xmldnnsimplearticles.SelectNodes("article"))
            // ReSharper restore PossibleNullReferenceException
                {
                    var objdnnsimplearticle = new Article
                                                  {
                                                      ModuleId = moduleId,
                                                      Title = xmldnnsimplearticle.SelectSingleNode("title").InnerText,
                                                      Description =
                                                          xmldnnsimplearticle.SelectSingleNode("description").InnerText,
                                                      Body = xmldnnsimplearticle.SelectSingleNode("body").InnerText,
                                                      CreatedByUserId = userId,
                                                      CreatedOnDate = DateTime.Now,
                                                      LastModifiedByUserId = userId,
                                                      LastModifiedOnDate = DateTime.Now
                                                  };

                    objdnnsimplearticle.Save(mi.TabID);
                }
        }