Ejemplo n.º 1
0
        public bool RestoreStudy(Study theStudy)
        {
            RestoreQueue restore = ServerHelper.InsertRestoreRequest(theStudy.LoadStudyStorage(HttpContextData.Current.ReadContext));

            if (restore == null)
            {
                throw new ApplicationException("Unable to restore the study. See the log file for details.");
            }

            return(true);
        }