コード例 #1
0
 public IActionResult UpdateStatus([FromForm] UpdateStatusRequest request, [FromQuery] int ID)
 {
     try
     {
         var result = _elementsService.UpdateStatus(request, ID);
         return(Ok(result));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }