Пример #1
0
 public IActionResult GetAllProducts()
 {
     try
     {
         var response = _auctionService.GetAllProducts();
         return(Ok(response));
     }
     catch (Exception exception)
     {
         return(BadRequest(exception.Message));
     }
 }