public PatientItem(DateConsult dateToAdd) { InitializeComponent(); BindingContext = new PatientsViewModel(dateToAdd); }
public DateDetailPage(DateConsult dateConsult) { InitializeComponent(); BindingContext = new DateDetailViewModel(dateConsult); }