예제 #1
0
        public async Task <NoteModel> Get(Guid id)
        {
            var noteData = await noteRepository.Get(id);

            if (noteData != null)
            {
                return(NoteModel.FromData(noteData));
            }
            else
            {
                return(null);
            }
        }