public PaymentMethodsList(IEnumerable <PaymentMethodData> items, RepositoryPage page) : base(page) { if (items is null) { return; } foreach (var paymentMethodDbRecord in items) { Add(PaymentMethodFactory.Create(paymentMethodDbRecord)); } }