Example #1
0
        public ActionResult NewDomain()
        {
            dynamic       returnData    = new ExpandoObject();
            ProvinceValue provinceValue = new ProvinceValue();

            try
            {
                returnData.CustomerId = userService.GetAllCustomerId();
            }
            catch (Exception ex)
            {
                log.Error(ex);
            }
            return(View(returnData));
        }
Example #2
0
        public string DomainInfo(string id)
        {
            dynamic       returnData    = new ExpandoObject();
            ProvinceValue provinceValue = new ProvinceValue();

            try
            {
                returnData.DomainInfo    = domainExaminationService.GetById(id);
                returnData.AllCustomerId = userService.GetAllCustomerId().Where(s => !s.Equals(returnData.DomainInfo.CustomerId)).OrderBy(p => p).ToList();;
            }
            catch (Exception ex)
            {
                log.Error(ex);
            }
            return(JsonConvert.SerializeObject(returnData));
        }