public ActionResult AssessmentTab(PreNatal_Assessment model) { AssessmentBL obj = new AssessmentBL(); if (ModelState.IsValid) { var toReturn = obj.Save(model, out outmodel); return(RedirectToAction("MedicationTab", "PaedsPhyExamination", new { area = "PN", PatientId = model.PatientId })); } ViewBag.PatientId = new SelectList(Dropdowns.PatientDropDown, "Value", "Text"); return(View(model)); }
public ActionResult Create(PreNatal_Assessment model) { var toReturn = obj.Save(model, out outmodel); return(Json(new { mdl = outmodel, pa = toReturn }, JsonRequestBehavior.AllowGet)); }