Пример #1
0
        public ActionResult GetRequestForm(int isoId, int requestId, bool isModelEditable = false)
        {
            var model = _productionService.CreateRequestViewModel(requestId);

            model.IsolatorId      = model.IsolatorId > 0?model.IsolatorId: isoId;
            model.IsModelEditable = isModelEditable;
            return(PartialView("_RequestForm", model));
        }