public HttpResponseMessage EditOpeningBalance([FromBody] OpeningBalanceModel oParty)
        {
            partyRepository.EditOpeningBalance(oParty);
            var formatter = RequestFormat.JsonFormaterString();

            return(Request.CreateResponse(HttpStatusCode.OK, new Confirmation {
                output = "success", msg = "Opening Balance Updated successfully"
            }, formatter));
        }