public IActionResult Delete(int id) { try { return(Ok(mgr.DeleteById(id))); } catch (KeyNotFoundException knfe) { return(NotFound(knfe.Message)); } }