This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UserSettings | |
{ | |
private User User; | |
public UserSettings(User user) | |
{ | |
User = user; | |
} | |
public void UpdateSettings(Settings settings) | |
{ | |
if (ConfirmSMS()) | |
{ | |
// ... | |
} | |
} | |
private bool ConfirmSMS() | |
{ | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment