public JsonResult getspecificbranchdropdown(string compid)
        {
            List <SelectListItem> company = new List <SelectListItem>();
            int ID = Convert.ToInt32(compid);

            OrgService.OrganizationServiceClient organizationServiceClient = new OrgService.OrganizationServiceClient();
            string  xmldata = organizationServiceClient.getSpecificBranchListDropDown(ID);
            DataSet ds      = new DataSet();

            ds.ReadXml(new StringReader(xmldata));
            company = new List <SelectListItem>();
            if (ds.Tables.Count > 0)
            {
                foreach (System.Data.DataRow row in ds.Tables[0].Rows)
                {
                    company.Add(new SelectListItem {
                        Text = Convert.ToString(row["Company_Name"]), Value = Convert.ToString(row["Org_Hier_ID"])
                    });
                }
            }
            return(Json(company, JsonRequestBehavior.AllowGet));
        }