Execute() public method

public Execute ( AccountType type, string accountName ) : bool
type AccountType
accountName string
return bool
 public bool AccountExists(AccountType type, string name)
 {
     AccountExistsQuery query = new AccountExistsQuery(dbContext.Accounts);
     return query.Execute(type, name);
 }