コード例 #1
0
		public static webModel.SearchResult ToWebModel(this coreModel.SearchResult result)
		{
			var retVal = new webModel.SearchResult();

			retVal.InjectFrom(result);
			retVal.ShopingCarts = result.ShopingCarts.Select(x => x.ToWebModel()).ToList();

			return retVal;
		}
コード例 #2
0
        public static webModel.SearchResult ToWebModel(this coreModel.SearchResult result)
        {
            var retVal = new webModel.SearchResult();

            retVal.InjectFrom(result);
            retVal.ShopingCarts = result.ShopingCarts.Select(x => x.ToWebModel()).ToList();

            return(retVal);
        }