public async Task <IActionResult> BoardGetList() { var boardGetList = new BoardGetListRequest { UserId = this.GetUserId() }; var boardGetListResult = await _activitiesService.BoardGetList(boardGetList); return(Ok(boardGetListResult)); }
public async Task <BoardGetListResponse> BoardGetList(BoardGetListRequest request) { BoardGetListResponse response; var boards = await _boardRepository.GetByUserId(request.UserId); response = _boardCreator.CreateBoardGetListResponse(boards); response.Succeeded(); return(response); }
public async Task <BoardGetListResponse> BoardGetList(BoardGetListRequest request) { return(await _boardGetListRequest.Request(request)); }