Beispiel #1
0
        public ActionResult GeneralTab(GynaeForm model)
        {
            GynaeBL obj = new GynaeBL();

            if (ModelState.IsValid)
            {
                var toReturn = obj.Save(model, out outmodel);
                return(RedirectToAction("PhysicalExaminationTab", "GynaePhyExamination", new { area = "PN", PatientId = model.PatientId }));
            }
            ViewBag.PatientId = new SelectList(Dropdowns.PatientDropDown, "Value", "Text");
            return(View());
        }
Beispiel #2
0
 public ActionResult Create(GynaeForm model)
 {
     var toReturn = obj.Save(model, out outmodel);
     return (Json(new { mdl = outmodel, pa = toReturn }, JsonRequestBehavior.AllowGet));
 }