public IActionResult Delete([FromRoute] int id) { try { _handler.Delete(id); return(Ok()); } catch (Exception ex) { return(BadRequest(ex)); } }