Example #1
0
            public async Task <List <NoteInfo> > Handle(Request request, CancellationToken cancellationToken)
            {
                List <NoteInfo> result = null;

                try
                {
                    result = await Task.Run(() => noteModule.List());
                }
                catch (Exception ex)
                {
                    throw ex;
                }

                return(result);
            }