public HttpResponseMessage GetTAAprovers() { HttpResponseMessage response = null; try { var result = approvalService.GetTAAprovers(); response = Request.CreateResponse(HttpStatusCode.OK, result); } catch (Exception ex) { LogMessage.Log("GetTAAprovers :" + ex.Message); response = Request.CreateResponse(HttpStatusCode.InternalServerError, "Couldn't retrieve Travel admin approvers " + ex.Message); } return(response); }