Пример #1
0
        public IActionResult EditReturn(int deliveryItemId, string filterJson, bool isFromVisit)
        {
            ViewBag.filterJson = filterJson;
            var model = service.GetDeliveryItemReturn(deliveryItemId);

            SetViewbag(-1);
            ModelState.Clear();

            int filterType = getFilterTypeFromJson(filterJson);

            ViewBag.breadcrumbs = commonService.Breadcrumbs_ForDeliveryItemEditReturn(filterType, deliveryItemId).DeleteOrDisableLast();

            return(View(nameof(EditReturn), model));
        }