Exemplo n.º 1
0
        public IActionResult ChangeQuantity(int orderGroupId, int shipmentId, int lineItemId, decimal quantity, OrderDetailsPage currentPage)
        {
            var issues = _ordersService.ChangeLineItemQuantity(orderGroupId, shipmentId, lineItemId, quantity);
            var model  = GetModel(orderGroupId, currentPage);

            model.ErrorMessage = GetValidationMessages(issues);
            return(PartialView("Index", model));
        }