internal override async Task <bool> ValidateAccountSystemAsync(Account account, SessionToken session, ViewAccountProduct product) { if (!product.IsPPC) { return(await Task.FromResult(true)); } var accountSystems = await Auth.AccountSystemsGetAsync(new AccountProductPair(account.Id, product.AccountProductId)); var accountSystemsWithoutCurrent = accountSystems.Where(e => e.SystemId != session.SystemId.Value); var limit = 1; //if user's license associated more than {{limit}} devices return(await Task.FromResult(accountSystemsWithoutCurrent.Count() < limit)); }