Ejemplo n.º 1
0
        /// <summary>
        /// Update Note
        /// </summary>
        /// <param name="note">The note.</param>
        /// <returns></returns>
        public Response <NoteViewModel> UpdateNote(NoteViewModel note)
        {
            string apiUrl   = baseRoute + "UpdateNote";
            var    response = _communicationManager.Put <NoteModel, Response <NoteModel> >(note.ToModel(), apiUrl);

            return(response.ToViewModel());
        }