コード例 #1
0
        public ActionResult OrderCategoryChargeBindView(Guid categoryId)
        {
            var category = _orderCategoryService.SearchService.GetCategory(categoryId);

            ViewData["category"] = category;
            var charges = _orderChargeSearchService.GetCharges();
            var bounds  = _orderCategoryChargeSearchService.GetAssociations(categoryId).Select(s => s.Id).ToList();

            ViewData["boundIds"] = bounds;
            return(View(charges));
        }
コード例 #2
0
        public ActionResult OrderChargeView()
        {
            var properties = _orderChargeSearchService.GetCharges();

            return(View(properties));
        }