private Task <UserLoginInfo> GetUserLoginInfoAsync(LogUserInWithCredentialsCommand command, IExecutionContext executionContext)
        {
            var query = new GetUserLoginInfoIfAuthenticatedQuery()
            {
                UserAreaCode = command.UserAreaCode,
                Username     = command.Username,
                Password     = command.Password,
            };

            return(_queryExecutor.ExecuteAsync(query, executionContext));
        }
        private Task <UserLoginInfo> GetUserLoginInfoAsync(
            UpdateUnauthenticatedUserPasswordCommand command,
            IExecutionContext executionContext
            )
        {
            var query = new GetUserLoginInfoIfAuthenticatedQuery()
            {
                UserAreaCode = command.UserAreaCode,
                Username     = command.Username,
                Password     = command.OldPassword,
            };

            return(_queryExecutor.ExecuteAsync(query, executionContext));
        }