Ejemplo n.º 1
0
        public async Task <IActionResult> TaskGet(Guid id, Guid boardId)
        {
            var request = new TaskGetRequest
            {
                Id      = id,
                BoardId = boardId,
                UserId  = this.GetUserId()
            };

            var response = await _activitiesService.TaskGet(request);

            return(Ok(response));
        }
Ejemplo n.º 2
0
        public async System.Threading.Tasks.Task Consume(ConsumeContext <TaskGetRequest> context)
        {
            var response = await _activitiesService.TaskGet(context.Message);

            await context.RespondAsync(response);
        }