public HttpResponseMessage GetReceiveList() { var PaymentList = receiveRepository.GetReceiveList(); var formatter = RequestFormat.JsonFormaterString(); return(Request.CreateResponse(HttpStatusCode.OK, PaymentList, formatter)); }