public async Task <IActionResult> BoardGet(Guid id) { var boardGet = new BoardGetRequest { Id = id, UserId = this.GetUserId() }; var boardGetResult = await _activitiesService.BoardGet(boardGet); return(Ok(boardGetResult)); }
public async System.Threading.Tasks.Task Consume(ConsumeContext <BoardGetRequest> context) { var response = await _activitiesService.BoardGet(context.Message); await context.RespondAsync(response); }