Skip to content

Instantly share code, notes, and snippets.

@tarikguney
Created January 31, 2017 07:51
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 tarikguney/825879ce5e184961b9acb042c3d0c41c to your computer and use it in GitHub Desktop.
Save tarikguney/825879ce5e184961b9acb042c3d0c41c to your computer and use it in GitHub Desktop.
Account Checker Interface - Medium
public interface IAccountChecker
{
bool Exists(AccountNumber accountNumber);
}
public class DatabaseAccountChecker: IAccountChecker {}
public class AzureAccountChecker: IAccountChecker {}
public class XmlAccountChecker: IAccountChecker {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment