void SetInfo(DataUserResponse profile) { _imageView.Source = profile.data.ruta_imagen; url = profile.data.ruta_imagen; NivelEstudios(profile); NewFields(profile); }
void NivelEstudios(DataUserResponse profile) { if (profile.data.id_nivel_estudios == null) { } else { pickernivelestudios.SelectedIndex = (int)profile.data.id_nivel_estudios; } }
void NewFields(DataUserResponse profile) { inputCiudad.Text = profile.data.ciudad; inputColonia.Text = profile.data.colonia; inputCalle.Text = profile.data.calle; inputEmpresa.Text = profile.data.empresa; inputActividad.Text = profile.data.actividad; inputEmpleados.Text = profile.data.num_empleados; inputRFC.Text = profile.data.rfc; inputAntiguedad.Text = profile.data.antiguedad; }