public User GetUser(string email) { User user = (User)_users[email]; if (null == user) { throw new ApplicationException(string.Format("User {0} not found!", email)); } return user; } }