public IActionResult GetById(string id) { var user = UserItems.Find(id); if (user == null) { return(NotFound()); } return(new ObjectResult(user)); }