/// <summary>
        /// get address for search text
        /// </summary>
        /// <param name="name_startsWith"></param>
        /// <returns></returns>
        public JsonResult GetAddresses(string name_startsWith)
        {
            LocationModel obj = new LocationModel();

            if (Session["Ctx"] != null)
            {
                var ctx       = Session["ctx"] as Ctx;
                var keyValues = obj.GetAddressesSearch(ctx, name_startsWith);
                if (keyValues.Count > 0)
                {
                    return(Json(new { result = keyValues }, JsonRequestBehavior.AllowGet));
                }
            }
            return(Json(new { result = "ok" }, JsonRequestBehavior.AllowGet));
        }