namespace LaaProductionWeb.Services.Models { using System.Collections; using System.Collections.Generic; public class ProductionOrders : IEnumerable { private readonly IEnumerable productionOrders; public ProductionOrders(IEnumerable productionOrders) => this.productionOrders = productionOrders; public IEnumerator GetEnumerator() => this.productionOrders.GetEnumerator(); IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator(); } }