public IActionResult Delete(int id) { try { _valueLogic.Delete(id); return(NoContent()); } catch (NotFoundException) { return(NotFound()); } }
public IActionResult Delete(int id) { _valueLogic.Delete(id); return(NoContent()); }