public ActionResult QuantityAbnormal(Guid notificationId, Guid movementId, QuantityAbnormalViewModel model) { if (!ModelState.IsValid) { return(View(model)); } TempData[DateReceivedKey] = model.DateReceived; TempData[UnitKey] = model.Unit; TempData[QuantityKey] = model.Quantity; TempData[DateRecoveredKey] = model.DateRecovered; TempData[CertificateKey] = model.Certificate; TempData[NotificationTypeKey] = model.NotificationType; return(RedirectToAction("UploadCertificate", new { movementId = movementId })); }
public ActionResult QuantityAbnormal(Guid id, QuantityAbnormalViewModel model) { if (!ModelState.IsValid) { return View(model); } TempData[DateReceivedKey] = model.DateReceived; TempData[UnitKey] = model.Unit; TempData[QuantityKey] = model.Quantity; return RedirectToAction("Index", "ReceiptComplete"); }