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); }