コード例 #1
0
 public IActionResult Delete(int id)
 {
     try
     {
         _valueLogic.Delete(id);
         return(NoContent());
     }
     catch (NotFoundException)
     {
         return(NotFound());
     }
 }
コード例 #2
0
 public IActionResult Delete(int id)
 {
     _valueLogic.Delete(id);
     return(NoContent());
 }