public IHttpActionResult Check() { try { return(Ok(_commonServices.CheckAvailability())); } catch (Exception) { throw new HttpResponseException(new HttpResponseMessage() { StatusCode = HttpStatusCode.ServiceUnavailable }); } }