Execute() public method

public Execute ( System.Guid userId, AccountType type ) : Account
userId System.Guid
type AccountType
return Account
 public Account GetUserAccount(Guid userId, AccountType type)
 {
     var query = new AccountQuery(dbContext.Accounts);
     return query.Execute(userId, type);
 }