public static void Actualizar(SeaceWCF.Dtos.personDTO dto, person entity) { entity.idPerson = dto.idPerson; entity.first_name = dto.first_name; entity.last_name = dto.last_name; entity.picture = dto.picture; entity.email = dto.email; entity.active = dto.active; entity.username = dto.username; entity.password = dto.password; entity.last_update = dto.last_update; }
private void Service_VerificarPasswordCompleted(object sender, SeaceWCF.VerificarPasswordCompletedEventArgs e) { btnLogin.Enabled = true; // lblMensaje.Text = "Concretado..."; //e.VerificarPasswordResult; // lblMensaje.Text = e.VerificarPasswordResult.ToString(); if (!e.VerificarPasswordResult) { lblMensaje.Text = "Usuario con acceso denegado"; btnLogin.Enabled = true; return; } lblMensaje.Text = "Usuario con acceso permitido"; //llamo a nueva ventana var intent = new Intent(this, typeof(MenuActivity)); //intent.PutStringArrayListExtra("phone_numbers", _phoneNumbers); StartActivity(intent); }