//public ActionResult IsContactTitleExist(string id)
        //{
        //    //id="country_name,country_id"
        //    string[] info = id.Split(',');
        //    string contactTitleName = id;
        //    int contactTitleId = 0;
        //    if (info.Length == 2)
        //    {
        //        contactTitleName = info[0];
        //        contactTitleId = info[1] != "" ? Convert.ToInt32(info[1]) : contactTitleId;
        //    }
        //    return Json(contactTitleUtil.GetContactTitleByContactTitleId(contactTitleName, contactTitleId) == null ? false : true);
        //}
        #endregion

        #region ContactType
        //public ActionResult IsContactTypeExist(string id)
        //{
        //    //id="country_name,country_id"
        //    string[] info = id.Split(',');
        //    string contactTypeName = id;
        //    int contactTypeId = 0;
        //    if (info.Length == 2)
        //    {
        //        contactTypeName = info[0];
        //        contactTypeId = info[1] != "" ? Convert.ToInt32(info[1]) : contactTypeId;
        //    }
        //    return Json(contactTypeUtil.GetContactTypeByContactTypeId(contactTypeName, contactTypeId) == null ? false : true);
        //}
        #endregion

        #region Currency
        public ActionResult IsCurrencyExist(string id)
        {
            //id="country_name,country_id"
            string[] info            = id.Split(',');
            string   contactTypeName = id;
            int      currencyId      = 0;

            if (info.Length == 2)
            {
                contactTypeName = info[0];
                currencyId      = info[1] != "" ? Convert.ToInt32(info[1]) : currencyId;
            }
            return(Json(currencyUtil.GetCurrencyByCurrencyId(contactTypeName, currencyId) == null ? false : true));
        }