Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Last active September 7, 2022 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/9100eafc8025d6d165ac337ddb83218f to your computer and use it in GitHub Desktop.
Save lgolubyev/9100eafc8025d6d165ac337ddb83218f to your computer and use it in GitHub Desktop.
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