public ActionResult ProductUpdate(GridCommand command, PromotionProductsModel model) { var product = _promotionProductsService.GetPromotionById(model.Id); if (_permissionService.Authorize(StandardPermissionProvider.ManageCatalog)) { product.ProductId = model.ProductId; if (this.IsProductAllowed(product.Id, product.PromotionId, product.Id)) { _promotionProductsService.UpdatePromotion(product); } else { NotifyError("Product already added into the promotion"); } } return(ProductList(command, model.ProductId)); }