-
-
Save lgolubyev/9100eafc8025d6d165ac337ddb83218f 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