public CreateTaskBoardCommand(string ideaId, TaskBoardDto taskBoard)
 {
     IdeaId    = ideaId;
     TaskBoard = taskBoard;
 }
Example #2
0
        public async Task <IActionResult> UpdateTaskBoard(TaskBoardDto board)
        {
            await _taskBoardService.UpdateBoardAsync(board);

            return(Json(new { message = "Task board successfully updated" }));
        }
Example #3
0
 public Task <TaskBoardDto> CreateTaskBoard(string ideaId, TaskBoardDto board)
 {
     return(_taskBoardService.CreateBoardAsync(ideaId, board));
 }
 public UpdateTaskBoardCommand(TaskBoardDto taskBoard)
 {
     TaskBoard = taskBoard;
 }
 public Task UpdateBoardAsync(TaskBoardDto board)
 {
     return(_bus.SendCommand(new UpdateTaskBoardCommand(board)));
 }
        public async Task <TaskBoardDto> CreateBoardAsync(string ideaId, TaskBoardDto board)
        {
            await _bus.SendCommand(new CreateTaskBoardCommand(ideaId, board));

            return(await _taskBoardLogic.GetTaskBoardAsync(board.Id));
        }