Пример #1
0
        internal async void GetData()
        {
            ThisDependent = await ServiceCalls.GetDependent(Id);

            People = await ServiceCalls.GetPeople();

            if (Operation == CrudOperation.Add)
            {
                ThisDependent.PolicyHolderId = PolicyHolderId;
            }
            personBindingSource.DataSource    = People;
            dependentBindingSource.DataSource = ThisDependent;
        }