public async Task <IActionResult> BoardGetList() { var boardGetList = new BoardGetListRequest { UserId = this.GetUserId() }; var boardGetListResult = await _activitiesService.BoardGetList(boardGetList); return(Ok(boardGetListResult)); }
public async System.Threading.Tasks.Task Consume(ConsumeContext <BoardGetListRequest> context) { var response = await _activitiesService.BoardGetList(context.Message); await context.RespondAsync(response); }