Exemple #1
0
        public ActionResult <IEnumerable <BidReadDto> > GetBidsByProduct(Guid ProductId)
        {
            var result = _repository.GetBidsByProduct(ProductId);

            return(Ok(_mapper.Map <IEnumerable <BidReadDto> >(result)));
        }