예제 #1
0
        internal async void GetData()
        {
            ThisPolicyHolder = await ServiceCalls.GetPolicyHolder(Id);

            People = await ServiceCalls.GetPeople();

            Policies = await ServiceCalls.GetPolicies();

            Dependents = ThisPolicyHolder.Dependents;

            personBindingSource.DataSource       = People;
            policyBindingSource.DataSource       = Policies;
            policyHolderBindingSource.DataSource = ThisPolicyHolder;
            dependentBindingSource.DataSource    = Dependents;
        }