public ActionResult AffectedLandPresentCropsAndProductionInformation(List <AffectedLandPresentCropsAndProductionInformation> data) { long nid = 0; foreach (var aData in data) { aFamilyManager.SaveAffectedLandPresentCropsAndProductionInformation(aData); nid = aData.BasicInformationOfAffectedPersonNid; } // return View(); return(RedirectToAction("BasicInformationOfAffectedPersonStepFour", "BasicInformationOfAffectedPersons", new { id = nid })); }