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