public static moduleModel.EditorialReview ToModuleModel(this webModel.EditorialReview review)
        {
            var retVal = new moduleModel.EditorialReview();

            retVal.InjectFrom(review);
            return(retVal);
        }
		/// <summary>
		/// Converting to model type
		/// </summary>
		/// <param name="catalogBase"></param>
		/// <returns></returns>
		public static coreModel.EditorialReview ToCoreModel(this dataModel.EditorialReview dbReview)
		{
			if (dbReview == null)
				throw new ArgumentNullException("dbReview");

			var retVal = new coreModel.EditorialReview();
			retVal.InjectFrom(dbReview);
			retVal.LanguageCode = dbReview.Locale;
			retVal.ReviewType = dbReview.Source;
			return retVal;

		}
        /// <summary>
        /// Converting to model type
        /// </summary>
        /// <param name="catalogBase"></param>
        /// <returns></returns>
        public static coreModel.EditorialReview ToCoreModel(this dataModel.EditorialReview dbReview)
        {
            if (dbReview == null)
            {
                throw new ArgumentNullException("dbReview");
            }

            var retVal = new coreModel.EditorialReview();

            retVal.InjectFrom(dbReview);
            retVal.LanguageCode = dbReview.Locale;
            retVal.ReviewType   = dbReview.Source;
            return(retVal);
        }
		public static moduleModel.EditorialReview ToModuleModel(this webModel.EditorialReview review)
		{
			var retVal = new moduleModel.EditorialReview();
			retVal.InjectFrom(review);
			return retVal;
		}