public async Task <IEnumerable <BoardResponse> > GetBoardsForTeam(long id) { var boards = await _boardRepository.GetBoardsForTeam(id); var boardResponses = MapModelToResponse(boards); return(boardResponses); }
public async Task <IEnumerable <BoardResponse> > GetBoardsForTeam(long id) { var boards = await _boardRepository.GetBoardsForTeam(id); var boardResponses = MapModelToResponse(boards); return(boardResponses); }