public ActionResult Index() { try { _IDbHandler = new DbHandler(); var results = _IDbHandler.GetUserDetails(); return(Json(results, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { Logger.Fatal(ex.Message); throw; } }