public JsonResult BankDetailsInsert(string updateAccmacc, string newAccmacc, string AccountCode, string AccountName, string AccountKey) { var UsrKy = HTNSession.UsrKy; var CKy = HTNSession.CKy; bool BankDetailInsert = false;// = new List<ManageAllAccountsBankDetailsModel>(); BankDetailInsert = apiOpr.BankDetailsInsertToChrtOfAcc(HTNSession.Environment, CKy, UsrKy, updateAccmacc, newAccmacc, AccountCode, AccountName, AccountKey); return(Json(BankDetailInsert, JsonRequestBehavior.AllowGet)); }