Exemplo n.º 1
0
 public void BindBranches(Guid selectedParlourId)
 {
     BranchModel[] objBranchModel = _client.BranchByparlourId(selectedParlourId);
     foreach (BranchModel branch in objBranchModel)
     {
         ListItem li = new ListItem();
         li.Text  = branch.BranchName;
         li.Value = branch.Brancheid.ToString();
         ddlBankBranch.Items.Add(li);
     }
     ddlBankBranch.Items.Insert(0, new ListItem("Select Branch", "00000000-0000-0000-0000-000000000000"));
 }