예제 #1
0
        public static coreModels.MenuLink ToCoreModel(this webModels.MenuLink link)
        {
            var retVal = new coreModels.MenuLink();

            retVal.InjectFrom(link);
            return(retVal);
        }
예제 #2
0
        public static coreModels.MenuLink ToCoreModel(this webModels.MenuLink link)
        {
            var retVal = new coreModels.MenuLink {
                Id = link.Id, Title = link.Title, Url = link.Url, Type = link.Type, Priority = link.Priority, IsActive = link.IsActive, MenuLinkListId = link.MenuLinkListId
            };

            return(retVal);
        }
		public static webModels.MenuLink ToWebModel(this coreModels.MenuLink link)
		{
			var retVal = new webModels.MenuLink { Id = link.Id, Title = link.Title, Url = link.Url, Priority = link.Priority, IsActive = link.IsActive, MenuLinkListId = link.MenuLinkListId };

		    return retVal;
		}
예제 #4
0
		public static webModels.MenuLink ToWebModel(this coreModels.MenuLink link)
		{
            var retVal = new webModels.MenuLink();
            retVal.InjectFrom(link);
            return retVal;
		}