public ActionResult Get() { var data = _patientDemoBusinessLayer.GetPatientDetails(1); return(PartialView("_PatientDetails", data)); }
public IHttpActionResult Get() { var data = _patientDemoBusinessLayer.GetPatientDetails(1); return(Json(data)); }