public HttpResponseMessage GetBankAccountInfoforPracticeID(Doctor doctor) { TransactionalInformation transaction = new TransactionalInformation(); P_DO_GBAfPR_1524 parameter = new P_DO_GBAfPR_1524(); parameter.PracticeID = doctor.PracticeID; DO_GBAfPR_1524[] data = docDataService.GetBankAccountInfoforPracticeID(parameter, connectionString, SessionToken, out transaction); if (transaction.ReturnStatus) { return(Request.CreateResponse(HttpStatusCode.OK, data)); } return(Request.CreateResponse(HttpStatusCode.BadRequest)); }