Пример #1
0
        public ProductDetailsModel(int?id)
        {
            var context = new Model.DbModel.ProductDetailsModel();

            Details = context.getDetails(id);

            ListProduct_Recommend = context.getDetails_Recommend();
        }
Пример #2
0
        private List <ShopProductInfo> get_recommend()
        {
            List <ShopProductInfo> contextList = context.getDetails_Recommend();

            return(contextList);
        }