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)); }
public ActionResult OrderChargeView() { var properties = _orderChargeSearchService.GetCharges(); return(View(properties)); }