-
-
Save lgolubyev/299029f4b18dff53b35a7614f61b3e95 to your computer and use it in GitHub Desktop.
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