public void onDoctorUpdateSuccess(object sender, UpdateDocEventArgs args) { view = args.page; var item = viewModel.most_booked_docs.FirstOrDefault(i => i.ID == args.doctor.ID); var index = viewModel.most_booked_docs.IndexOf(item); if (item != null) { item = args.doctor; } viewModel.most_booked_docs[index] = item; Bindings.Update(); }
public void onDoctorUpdateSuccess(object sender, UpdateDocEventArgs args) { throw new NotImplementedException(); }