Example #1
0
        public async Task <IActionResult> BoardGetList()
        {
            var boardGetList = new BoardGetListRequest {
                UserId = this.GetUserId()
            };

            var boardGetListResult = await _activitiesService.BoardGetList(boardGetList);

            return(Ok(boardGetListResult));
        }
Example #2
0
        public async System.Threading.Tasks.Task Consume(ConsumeContext <BoardGetListRequest> context)
        {
            var response = await _activitiesService.BoardGetList(context.Message);

            await context.RespondAsync(response);
        }