public ActionResult Index(Guid notificationId, UploadChoiceViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return View(model);
            }

            return RedirectToAction("Index", "Submit", new { id = model.RadioButtons.SelectedValue, area = "ExportMovement" });
        }
Ejemplo n.º 2
0
        public ActionResult Index(Guid notificationId, UploadChoiceViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View(model));
            }

            return(RedirectToAction("Index", "Upload", model.Shipments.Where(s => s.IsSelected).Select(s => s.Id).ToRouteValueDictionary("movementIds")));
        }