예제 #1
0
        public async Task <List <BidRequestDto> > GetByAuctionItemId(int auctionItemId)
        {
            var bidList = await _bidRepository.GetByAuctionItemIdAsync(auctionItemId);

            return(_mapper.Map <List <Bid>, List <BidRequestDto> >(bidList));
        }