Example #1
0
        public void UploadNotes(IList<Note> notes)
        {
            var restClient = GetJsonClient ();

            var request = new PutNotesRequest ();
            //request.LatestSyncRevision = this.LatestRevision;
            request.Notes = notes.ToDTONotes ();

            restClient.Put<GetNotesResponse> (notesServiceUrl, request);

            // TODO if conflicts arise, this may be different
            UploadedNotes = notes;
        }