Exemplo n.º 1
0
 public IActionResult AddBid([FromBody] Bid dto)
 {
     try
     {
         var response = _auctionService.AddNewBid(dto);
         return(Ok(response));
     }
     catch (Exception exception)
     {
         return(BadRequest(exception.Message));
     }
 }