Пример #1
0
        public async Task <IActionResult> BoardUpdate(BoardUpdateRequest boardUpdateRequest)
        {
            boardUpdateRequest.UserId = this.GetUserId();

            var boardUpdatedResult = await _activitiesService.BoardUpdate(boardUpdateRequest);

            return(Ok(boardUpdatedResult));
        }
Пример #2
0
        public async System.Threading.Tasks.Task Consume(ConsumeContext <BoardUpdateRequest> context)
        {
            var response = await _activitiesService.BoardUpdate(context.Message);

            await context.RespondAsync(response);
        }