public JObject Ping() { try { if (PingService.PingDb()) { return(ResponseBuilder.CreateReponse(CommonConst._1_SUCCESS)); } else { return(ResponseBuilder.CreateReponse(PingResponseCode._PING_FAIL)); } } catch (Exception ex) { Logger.Error(ex.Message, ex); return(ResponseBuilder.CreateReponse(PingResponseCode._PING_FAIL)); } }