public Perfil() { InitializeComponent(); _pacienteApiService = new PacienteApiService(); BuscarMedico(34); }
public Search() { InitializeComponent(); IsLoading = false; BindingContext = this; IsErro = false; _pacienteApiService = new PacienteApiService(); // You can use Dependency Injection }
public Atendimentos(Paciente paciente) { InitializeComponent(); _pacienteApiService = new PacienteApiService(); // You can use Dependency Injection IsLoading = false; BindingContext = this; NomePaciente.Text = paciente.Nome; ListarAtendimentos(paciente.Id); }
public Login() { InitializeComponent(); _pacienteApiService = new PacienteApiService(); IsLoading = false; BindingContext = this; IsErro = false; btnLogin.Clicked += UserLogin; }
public MeusPacientes(Medico medico) { InitializeComponent(); _pacienteApiService = new PacienteApiService(); IsLoading = false; BindingContext = this; ListarMeusPacientes(medico.Id); }