public IActionResult GetDoctor() { EntityConnection con = new EntityConnection("tbl_doctor"); //string result = "{'status':true, 'data':" + EntityConnection.ToJson(con.Select()) + "}"; List <Dictionary <string, object> > rec = con.GetDoctors(); return(Ok(rec)); }