public async Task <IActionResult> BoardCreate(BoardCreateRequest boardCreateRequest) { boardCreateRequest.UserId = this.GetUserId(); var boardCreateResult = await _activitiesService.BoardCreate(boardCreateRequest); return(Created(string.Empty, boardCreateResult)); }
public async System.Threading.Tasks.Task Consume(ConsumeContext <BoardCreateRequest> context) { var response = await _activitiesService.BoardCreate(context.Message); await context.RespondAsync(response); }