public static moduleModel.CategoryLink ToModuleModel(this webModel.CategoryLink link)
        {
            var retVal = new moduleModel.CategoryLink();

            retVal.InjectFrom(link);
            return(retVal);
        }
Beispiel #2
0
        public static webModel.CategoryLink ToWebModel(this moduleModel.CategoryLink link)
        {
            var retVal = new webModel.CategoryLink();

            retVal.CatalogId  = link.CatalogId;
            retVal.CategoryId = link.CategoryId;
            retVal.Priority   = link.Priority;

            return(retVal);
        }
		public static webModel.CategoryLink ToWebModel(this moduleModel.CategoryLink link)
		{
			var retVal = new webModel.CategoryLink();
			retVal.InjectFrom(link);
			return retVal;
		}
		public ListEntryLink(CategoryLink link)
		{
			CatalogId = link.CatalogId;
			CategoryId = link.CategoryId;
			ListEntryId = link.SourceItemId;
		}
 public ListEntryLink(CategoryLink link)
 {
     CatalogId   = link.CatalogId;
     CategoryId  = link.CategoryId;
     ListEntryId = link.SourceItemId;
 }