private async void frmOrganizationRequest_Load(object sender, EventArgs e) { if (cbxCityId.Items.Count == 0) { cbxCityId = await comboBoxHelper.GetCities(cbxCityId); } if (cbxOrganizationTypeId.Items.Count == 0) { cbxOrganizationTypeId = await comboBoxHelper.GetOrganizationTypes(cbxOrganizationTypeId); } if (cbxCurrencyId.Items.Count == 0) { cbxCurrencyId = await comboBoxHelper.GetCurrencies(cbxCurrencyId); } if (_id.HasValue) { var organizationDTO = await _organizationAPIService.GetById <OrganizationDTO>(_id); ControlsHelper.MapPropsToControls(organizationDTO, gbxOrganizationData); ControlsHelper.MapPropsToControls(organizationDTO.User, gbxUserData); } }