public User Get(int id) { var user = _dataManager.Get(id); if (user == null) { throw new NotFoundException(message: "Such user does not exist"); } return(user); }