public HttpResponseMessage GetClousingBalance(long party_id) { var closingbalance = receiveRepository.GetClousingBalance(party_id); var formatter = RequestFormat.JsonFormaterString(); return(Request.CreateResponse(HttpStatusCode.OK, closingbalance, formatter)); }