public ActionResult GetAllVipCompany()
 {
     using (var client = new UserAccountClient())
     {
         var serviceResult = client.SelectCompanyInfoById(-1);
         serviceResult.ThrowIfException(true);
         var allVipCompany = serviceResult.Result;
         return(Json(allVipCompany, JsonRequestBehavior.AllowGet));
     }
 }
        public static IEnumerable <SYS_CompanyInfo> SelectCompanyInfoById(int companyId)
        {
            IEnumerable <SYS_CompanyInfo> result = null;

            using (var client = new UserAccountClient())
            {
                var serviceResult = client.SelectCompanyInfoById(companyId);
                serviceResult.ThrowIfException(true);
                result = serviceResult.Result;
                return(result);
            }
        }