public IActionResult DeleteItem(int id) { try { _repo.DeleteItem(id); return(Ok()); } catch (Exception e) { return(NotFound(e.Message)); } }