//SaveDoctor internal static void SaveDoctorAsync(List<Doctor> saveList, ListDoctorCallback callback) { Guid callerKey = Guid.NewGuid(); ApartmentServiceClient proxy = GetProxy(callerKey, callback); proxy.SaveDoctorCompleted += new EventHandler<SaveDoctorCompletedEventArgs>(proxy_SaveDoctorCompleted); proxy.SaveDoctorAsync(saveList, callerKey); }
internal static void ListDoctorAsync(int? orgId, int? siteId, int? doctorId, string firstName, string lastName, bool includeLegacy, ListDoctorCallback callback) { Guid callerKey = Guid.NewGuid(); ApartmentServiceClient proxy = GetProxy(callerKey, callback); proxy.ListDoctorCompleted += new EventHandler<ListDoctorCompletedEventArgs>(proxy_ListDoctorCompleted); proxy.ListDoctorAsync(orgId, siteId, doctorId, firstName, lastName, includeLegacy, callerKey); }