public void GetOutSesionWaitingRoom(string patientServiceType, string patientDocument) { if (database != null) { database.RemoveAllObservers(); database.Dispose(); database = null; } Database.DefaultInstance.GoOffline(); }