public JsonResult Create(PatientInfo model) { var toReturn = obj.Save(model, out outmodel); return(Json(new { mdl = outmodel, pa = toReturn }, JsonRequestBehavior.AllowGet));// TODO: Add insert logic here }