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