Пример #1
0
        public Notebook GetNotebook(string notebookGuid)
        {
            Notebook notebook;

            try
            {
                notebook = noteStore.getNotebook(credentials.AuthToken, notebookGuid);
            }
            catch (EDAMUserException)
            {
                throw new EvernoteServiceSDK1AuthorisationException();
            }
            catch (EDAMNotFoundException)
            {
                throw new EvernoteServiceSDK1NoteNotFoundException();
            }

            return(notebook);
        }