Example #1
0
        public async Task <IActionResult> BoardGetList()
        {
            var boardGetList = new BoardGetListRequest {
                UserId = this.GetUserId()
            };

            var boardGetListResult = await _activitiesService.BoardGetList(boardGetList);

            return(Ok(boardGetListResult));
        }
Example #2
0
        public async Task <BoardGetListResponse> BoardGetList(BoardGetListRequest request)
        {
            BoardGetListResponse response;

            var boards = await _boardRepository.GetByUserId(request.UserId);

            response = _boardCreator.CreateBoardGetListResponse(boards);
            response.Succeeded();

            return(response);
        }
Example #3
0
 public async Task <BoardGetListResponse> BoardGetList(BoardGetListRequest request)
 {
     return(await _boardGetListRequest.Request(request));
 }