public EnrichEntitySearchHelper(UserConnection userConnection) { _userConnection = userConnection; var userConnectionConstructorArgument = new ConstructorArgument("userConnection", userConnection); _accountSearcher = ClassFactory.Get <IAccountSearcher>(userConnectionConstructorArgument); }
public AccountController(IAccountSearcher accountSearcher) { _accountSearcher = accountSearcher; }