Exemplo n.º 1
0
        private void UpdateDetails(List<ClinicAppointment> appointmentsList)
        {
            Appointments = new ObservableCollection<Appointment>(appointmentsList);

            if (appointmentsList.Count > 0)
            {
                SelectedAppointment = appointmentsList[0];
            }
        }
		private void OnShowDetails(Appointment appointment)
		{
			var parameters = new MvxBundle(new Dictionary<string, string>
				{
					["appointmentId"] = appointment.AppointmentId.ToString(CultureInfo.InvariantCulture)
				});

			ShowViewModel<AppointmentDetailsViewModel>(parameters);
		}