コード例 #1
0
        public OutgoingJsonData AddNewNote([FromBody] IncomingNoteRequest note)
        {
            using (var context = new NotesContext(Context, Configuration))
            {
                context.AddNewUserNote(note, UserId);
            }

            return(new OutgoingJsonData {
                Data = ""
            });
        }