Last active
August 29, 2015 14:01
-
-
Save jsonmez/d7980da6c98aa9cabe5d to your computer and use it in GitHub Desktop.
Reduced parameter count customer API
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
public void LoginAsCustomer(LoginInfo loginInfo, string customerType, int numberOfTries) | |
{ | |
// ... | |
} | |
var loginInfo = new LoginInfo("Darth Vader", "ihatewookes"); | |
LoginAsCustomer(loginInfo, "New Customer", 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment