Ejemplo n.º 1
0
 public ActionResult GrandBillingForm()
 {
     BCBSClient client = new BCBSClient();
     string customerlist = client.GetCustomerListForPlanCustomer();
     if (!string.IsNullOrEmpty(customerlist))
     {
         ViewBag.Customers = JsonConvert.DeserializeObject<List<CustomerModel>>(customerlist).Select(x => new { x.Id, x.Name });
     }
     else
     {
         ViewBag.Customers = "";
     }
     return View();
 }