Account Creator Used in Main Method For Medium
public class Program{ | |
public static void Main(string[] args){ | |
AccountCreator accountCreator = new AccountCreator(new DatabaseAccountChecker()); | |
var accountInfo = GetAccountInfoFromSomewhere(); | |
var result = accountCreator.TryCreateAccount(accountInfo); | |
Console.WriteLine("Account Creation was succesfull? " + result); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment