public JsonResult GetEMNLs() { List <Subscribers> allSubs = new List <Subscribers>(); allSubs = subscriber.AllSubscribers(); return(Json(new { data = allSubs }, JsonRequestBehavior.AllowGet)); }