public HttpResponseMessage GetDoctorPracticesList(ElasticParameterObject sort_parameter) { TransactionalInformation transaction = new TransactionalInformation(); List <Practice_Doctors_Model> data = docDataService.GetDoctorPracticesList(sort_parameter, connectionString, SessionToken, out transaction); var response = Request.CreateResponse(HttpStatusCode.OK, data); return(response); }