public HttpResponseMessage EditCreditLimit([FromBody] Models.party oParty) { partyRepository.EditCreditLimit(oParty); var formatter = RequestFormat.JsonFormaterString(); return(Request.CreateResponse(HttpStatusCode.OK, new Confirmation { output = "success", msg = "Credit Limit Updated successfully" }, formatter)); }