public User GetUser() { var user = _api.GetUser(); if (user == null) { throw new ApiException(); } return user; }