コード例 #1
0
 public IActionResult getFilterPrice(decimal price_min, decimal price_max)
 {
     try
     {
         return(new ObjectResult(_courses.FilterPrice(price_min, price_max)));
     }
     catch
     {
         return(BadRequest());
     }
 }