public ActionResult DeleteClientInsurerByID(int _ClientInsurerID, int _insurerID, string _insType) { try { if (_insType.ToLower() == GlobalConst.TableAbbreviation.Insb) { _iClientService.deleteClientInsuranceBranch(_ClientInsurerID); } else { _iClientService.deleteClientInsuranceBranchByInsurerID(_insurerID); _iClientService.deleteClientInsurer(_ClientInsurerID); } return(Json(GlobalConst.Message.DeleteMessage)); } catch { return(Json(GlobalConst.Message.ErrorMessage)); } }